1 | ### filling box
|
---|
2 |
|
---|
3 | AT_SETUP([Filling - filling void space in box])
|
---|
4 | AT_KEYWORDS([filling])
|
---|
5 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/FillVoidWithMolecule/pre/test.conf .], 0)
|
---|
6 | AT_DATA([water.xyz], [[3
|
---|
7 | # test configuration, created by molecuilder test suite
|
---|
8 | O 0. 0. 0.
|
---|
9 | H 0.758602 0. 0.504284
|
---|
10 | H 0.758602 0. -0.504284
|
---|
11 | ]])
|
---|
12 | AT_CHECK([../../molecuilder -i test.conf -o xyz --fill-void water.xyz --distances "3.1, 3.1, 3.1" --distance-to-molecule "1.5" --DoRotate 0], 0, [stdout], [stderr])
|
---|
13 | AT_CHECK([file=test.xyz; diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/FillVoidWithMolecule/post/$file], 0, [ignore], [ignore])
|
---|
14 | AT_CLEANUP
|
---|
15 |
|
---|
16 | AT_SETUP([Filling - filling void space in box with Undo])
|
---|
17 | AT_KEYWORDS([filling])
|
---|
18 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/FillVoidWithMolecule/pre/test.conf .], 0)
|
---|
19 | AT_DATA([water.xyz], [[3
|
---|
20 | # test configuration, created by molecuilder test suite
|
---|
21 | O 0. 0. 0.
|
---|
22 | H 0.758602 0. 0.504284
|
---|
23 | H 0.758602 0. -0.504284
|
---|
24 | ]])
|
---|
25 | AT_CHECK([../../molecuilder -i empty.conf -o xyz --fill-void water.xyz --distances "3.1, 3.1, 3.1" --distance-to-molecule "1.5" --DoRotate 0 --undo], 0, [stdout], [stderr])
|
---|
26 | AT_CHECK([file=empty.xyz; diff -I '.*reated by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/FillVoidWithMolecule/post/$file], 0, [ignore], [ignore])
|
---|
27 | AT_CLEANUP
|
---|
28 |
|
---|
29 | AT_SETUP([Filling - filling void space besides tenside micelle in box])
|
---|
30 | AT_KEYWORDS([filling])
|
---|
31 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/FillVoidWithMolecule/pre/*.data .], 0)
|
---|
32 | AT_CHECK([../../molecuilder -i tensid.data -B "30,0,30,0,0,30" --fill-void water.data --distances "3.1, 3.1, 3.1" --distance-to-molecule "2.1" --DoRotate 0], 0, [stdout], [stderr])
|
---|
33 | AT_CHECK([file=tensid.data; diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Filling/FillVoidWithMolecule/post/$file], 0, [ignore], [ignore])
|
---|
34 | AT_CLEANUP
|
---|