- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/Calculations/testsuite-calculations-phenanthrene.at
rabfc95 r343c5a 35 35 --select-molecule-by-id 0 \ 36 36 --select-molecules-atoms \ 37 --correct-bonddegree \ 37 38 --fragment-molecule $FILENAME \ 38 39 --order 3 \ … … 44 45 --fragment-resultfile ${FILENAME}_results.dat], 45 46 0, [stdout], [stderr]) 46 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) 47 48 48 49 AT_CLEANUP
Note:
See TracChangeset
for help on using the changeset viewer.