source: tests/regression/Filling/FillVoidWithMolecule/testsuite-fill-void-with-molecule.at@ 0f3042

Last change on this file since 0f3042 was 0d97b4, checked in by Frederik Heber <heber@…>, 12 years ago

FIX: Disclaimer appeared twice in each testsuite. Second time removed.

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[6253ed]1#
2# MoleCuilder - creates and alters molecular systems
3# Copyright (C) 2008-2012 University of Bonn
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation, either version 3 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17#
[08e6c8]18### filling box
[8c574b]19
[eee966]20AT_SETUP([Filling - filling void space in box])
[e611dc]21AT_KEYWORDS([filling fill-void])
[23b0c2]22
23file=test.conf
[7db9bd]24AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVoidWithMolecule/pre/test.conf $file], 0)
[eee966]25AT_DATA([water.xyz], [[3
26 # test configuration, created by molecuilder test suite
27O 0. 0. 0.
28H 0.758602 0. 0.504284
29H 0.758602 0. -0.504284
30]])
[23b0c2]31AT_CHECK([../../molecuilder -i $file -o xyz --fill-void water.xyz --distances "3.1, 3.1, 3.1" --distance-to-molecule "1.5" --DoRotate 0], 0, [stdout], [stderr])
[7db9bd]32AT_CHECK([diff -I '.*reated by molecuilder.*' test.xyz ${abs_top_srcdir}/tests/regression/Filling/FillVoidWithMolecule/post/test.xyz], 0, [ignore], [ignore])
[23b0c2]33
[eee966]34AT_CLEANUP
35
[23b0c2]36
[66fd49]37AT_SETUP([Filling - filling void space in box with Undo])
[e611dc]38AT_KEYWORDS([filling fill-void undo])
[23b0c2]39
40file=empty.conf
[7db9bd]41AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVoidWithMolecule/pre/test.conf $file], 0)
[23b0c2]42AT_DATA([water.xyz], [[3
43 # test configuration, created by molecuilder test suite
44O 0. 0. 0.
45H 0.758602 0. 0.504284
46H 0.758602 0. -0.504284
47]])
48AT_CHECK([../../molecuilder -i $file -o xyz --fill-void water.xyz --distances "3.1, 3.1, 3.1" --distance-to-molecule "1.5" --DoRotate 0 --undo], 0, [stdout], [stderr])
[7db9bd]49AT_CHECK([diff -I '.*reated by molecuilder.*' empty.xyz ${abs_top_srcdir}/tests/regression/Filling/FillVoidWithMolecule/post/propane.xyz], 0, [ignore], [ignore])
[23b0c2]50
51AT_CLEANUP
52
53
54AT_SETUP([Filling - filling void space in box with Redo])
55AT_XFAIL_IF([/bin/true])
[e611dc]56AT_KEYWORDS([filling fill-void redo])
[23b0c2]57
58file=test.conf
[7db9bd]59AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/FillVoidWithMolecule/pre/test.conf $file], 0)
[66fd49]60AT_DATA([water.xyz], [[3
61 # test configuration, created by molecuilder test suite
62O 0. 0. 0.
63H 0.758602 0. 0.504284
64H 0.758602 0. -0.504284
65]])
[23b0c2]66AT_CHECK([../../molecuilder -i $file -o xyz --fill-void water.xyz --distances "3.1, 3.1, 3.1" --distance-to-molecule "1.5" --DoRotate 0 --undo --redo], 0, [stdout], [stderr])
[7db9bd]67AT_CHECK([diff -I '.*reated by molecuilder.*' test.xyz ${abs_top_srcdir}/tests/regression/Filling/FillVoidWithMolecule/post/test.xyz], 0, [ignore], [ignore])
[23b0c2]68
[66fd49]69AT_CLEANUP
Note: See TracBrowser for help on using the repository browser.