Changeset d9e1d1 for tests/regression/Analysis
- Timestamp:
- Apr 23, 2021, 8:34:11 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- ef0f8f
- Parents:
- addb51
- git-author:
- Frederik Heber <frederik.heber@…> (10/03/20 21:20:26)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/23/21 20:34:11)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/regression/Analysis/PairCorrelation/testsuite-analysis-pair-correlation.at
raddb51 rd9e1d1 35 35 AT_CLEANUP 36 36 37 38 AT_SETUP([Analysis - pair correlation against element]) 39 AT_KEYWORDS([analysis correlation pair-correlation element]) 40 41 # here, we correlate all atoms against all of a single element 42 AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Analysis/PairCorrelation/pre/test.conf .], 0) 43 AT_CHECK([../../molecuilder -i test.conf -v 3 --set-boundary-conditions Wrap Wrap Wrap --pair-correlation --elements 8 --output-file output.csv --bin-output-file bin_output.csv --bin-start 0 --bin-end 20], 0, [stdout], [stderr]) 44 AT_CHECK([fgrep "Begin of PairCorrelation" stdout], 0, [ignore], [ignore]) 45 #AT_CHECK([file=output.csv; diff $file ${abs_top_srcdir}/tests/regression/Analysis/PairCorrelation/post/output.csv], 0, [ignore], [ignore]) 46 AT_CHECK([file=bin_output.csv; diff $file ${abs_top_srcdir}/tests/regression/Analysis/PairCorrelation/post/bin_output.csv], 0, [ignore], [ignore]) 47 sum=0; 48 for num in `tail -n 41 bin_output.csv | awk -F" " {'print $4'}`; do 49 let sum=$sum+$num; 50 done; 51 # 31 oxygens on 62 hydrogens yields 1922 values 52 AT_CHECK([test $sum -eq 1922], 0, [ignore], [ignore]) 53 54 AT_CLEANUP 55 56
Note:
See TracChangeset
for help on using the changeset viewer.
