1 | ### fill regular grid
|
---|
2 |
|
---|
3 | AT_SETUP([Filling - Fill regular grid])
|
---|
4 | AT_KEYWORDS([filling fill-regular-grid add-empty-boundary])
|
---|
5 |
|
---|
6 | file=solved_single_sles.data
|
---|
7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/single_sles.data $file], 0)
|
---|
8 | AT_CHECK([chmod u+w $file], 0)
|
---|
9 | AT_CHECK([../../molecuilder --parse-tremolo-potentials ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/sles.potentials -i $file -B "14.199,0,16.6216,0,0,33.9159" --load ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/water.data --select-molecule-by-order -1 --fill-regular-grid --mesh-size 5 5 11 --mesh-offset "0.5,0.5,0.5" --min-distance 3.1], 0, [stdout], [stderr])
|
---|
10 | AT_CHECK([grep "222 out of 275 returned true from predicate" stdout], 0, [ignore], [ignore])
|
---|
11 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/post/$file], 0, [ignore], [ignore])
|
---|
12 |
|
---|
13 | AT_CLEANUP
|
---|
14 |
|
---|
15 |
|
---|
16 | AT_SETUP([Filling - Fill regular grid with Undo])
|
---|
17 | AT_KEYWORDS([filling fill-regular-grid undo])
|
---|
18 |
|
---|
19 | file=solved_single_sles.data
|
---|
20 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/single_sles.data $file], 0)
|
---|
21 | AT_CHECK([chmod u+w $file], 0)
|
---|
22 | AT_CHECK([../../molecuilder --parse-tremolo-potentials ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/sles.potentials -i $file -B "14.199,0,16.6216,0,0,33.9159" --load ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/water.data --select-molecule-by-order -1 --fill-regular-grid --mesh-size 5 5 11 --mesh-offset "0.5,0.5,0.5" --min-distance 3.1 --undo], 0, [stdout], [stderr])
|
---|
23 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/post/single_sles-undo.data], 0, [ignore], [ignore])
|
---|
24 |
|
---|
25 | AT_CLEANUP
|
---|
26 |
|
---|
27 |
|
---|
28 | AT_SETUP([Filling - Fill regular grid with Redo])
|
---|
29 | AT_KEYWORDS([filling fill-regular-grid redo])
|
---|
30 |
|
---|
31 | file=solved_single_sles.data
|
---|
32 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/single_sles.data $file], 0)
|
---|
33 | AT_CHECK([chmod u+w $file], 0)
|
---|
34 | AT_CHECK([../../molecuilder --parse-tremolo-potentials ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/sles.potentials -i $file -B "14.199,0,16.6216,0,0,33.9159" --load ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/water.data --select-molecule-by-order -1 --fill-regular-grid --mesh-size 5 5 11 --mesh-offset "0.5,0.5,0.5" --min-distance 3.1 --undo --redo], 0, [stdout], [stderr])
|
---|
35 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/post/$file], 0, [ignore], [ignore])
|
---|
36 |
|
---|
37 | AT_CLEANUP
|
---|