Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Calculations/testsuite-calculations-phenanthrene.at

    rabfc95 r343c5a  
    3535        --select-molecule-by-id 0 \
    3636        --select-molecules-atoms \
     37        --correct-bonddegree \
    3738        --fragment-molecule $FILENAME \
    3839        --order 3 \
     
    4445         --fragment-resultfile ${FILENAME}_results.dat],
    4546         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)
     47AT_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)
    4748
    4849AT_CLEANUP
Note: See TracChangeset for help on using the changeset viewer.