- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/Calculations/testsuite-calculations-glucose.at
rabfc95 r3834b6 45 45 --fragment-resultfile ${FILENAME}_results.dat], 46 46 0, [stdout], [stderr]) 47 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk -v energy=$ENERGY 'function abs(x){return ((x < 0.0) ? -x : x)} {if (abs( $2 -energy) > 1e-5) exit(1)}'], 0)47 AT_CHECK([tail -n 1 ${FILENAME}_Energy.dat | awk -v energy=$ENERGY 'function abs(x){return ((x < 0.0) ? -x : x)} {if (abs(($2 - energy)/energy) > 1e-5) exit(1)}'], 0) 48 48 49 49 AT_CLEANUP
Note:
See TracChangeset
for help on using the changeset viewer.