[80ca29] | 1 | ### fill regular grid with surface
|
---|
| 2 |
|
---|
| 3 | AT_SETUP([Filling - Fill regular grid with surface and no atoms])
|
---|
| 4 | AT_KEYWORDS([filling fill-regular-grid add-empty-boundary])
|
---|
| 5 |
|
---|
| 6 | file=solved_double_sles.data
|
---|
| 7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/double_sles.data $file], 0)
|
---|
| 8 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 9 | # check that specifying radius but selecting no atoms is wrong
|
---|
[2382d7] | 10 | AT_CHECK([../../molecuilder --parse-tremolo-potentials ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/sles.potentials -i $file -B "14.199,0,21.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 7 11 --mesh-offset "0.5,0.5,0.5" --tesselation-radius 10 --min-distance .5], 5, [stdout], [stderr])
|
---|
[80ca29] | 11 |
|
---|
| 12 | AT_CLEANUP
|
---|
| 13 |
|
---|
| 14 | AT_SETUP([Filling - Fill regular grid with surface])
|
---|
| 15 | AT_KEYWORDS([filling fill-regular-grid add-empty-boundary])
|
---|
| 16 |
|
---|
| 17 | file=solved_double_sles.data
|
---|
| 18 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/double_sles.data $file], 0)
|
---|
| 19 | AT_CHECK([chmod u+w $file], 0)
|
---|
[2382d7] | 20 | AT_CHECK([../../molecuilder --parse-tremolo-potentials ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/sles.potentials -i $file --select-all-atoms -B "14.199,0,21.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 7 11 --mesh-offset "0.5,0.5,0.5" --tesselation-radius 10 --min-distance .5], 0, [stdout], [stderr])
|
---|
[80ca29] | 21 | AT_CHECK([grep "366 out of 385 returned true from predicate" stdout], 0, [ignore], [ignore])
|
---|
| 22 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/post/$file], 0, [ignore], [ignore])
|
---|
| 23 |
|
---|
| 24 | AT_CLEANUP
|
---|
| 25 |
|
---|
| 26 |
|
---|
| 27 | AT_SETUP([Filling - Fill regular grid with surface with Undo])
|
---|
| 28 | AT_KEYWORDS([filling fill-regular-grid undo])
|
---|
| 29 |
|
---|
| 30 | file=solved_double_sles.data
|
---|
| 31 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/double_sles.data $file], 0)
|
---|
| 32 | AT_CHECK([chmod u+w $file], 0)
|
---|
[2382d7] | 33 | AT_CHECK([../../molecuilder --parse-tremolo-potentials ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/sles.potentials -i $file --select-all-atoms -B "14.199,0,21.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 7 11 --mesh-offset "0.5,0.5,0.5" --tesselation-radius 10 --min-distance .5 --undo], 0, [stdout], [stderr])
|
---|
[80ca29] | 34 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/post/double_sles-undo.data], 0, [ignore], [ignore])
|
---|
| 35 |
|
---|
| 36 | AT_CLEANUP
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 | AT_SETUP([Filling - Fill regular grid with surface with Redo])
|
---|
| 40 | AT_KEYWORDS([filling fill-regular-grid redo])
|
---|
| 41 |
|
---|
| 42 | file=solved_double_sles.data
|
---|
| 43 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/double_sles.data $file], 0)
|
---|
| 44 | AT_CHECK([chmod u+w $file], 0)
|
---|
[2382d7] | 45 | AT_CHECK([../../molecuilder --parse-tremolo-potentials ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/pre/sles.potentials -i $file --select-all-atoms -B "14.199,0,21.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 7 11 --mesh-offset "0.5,0.5,0.5" --tesselation-radius 10 --min-distance .5 --undo --redo], 0, [stdout], [stderr])
|
---|
[80ca29] | 46 | AT_CHECK([diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/tests/regression/Filling/RegularGrid/post/$file], 0, [ignore], [ignore])
|
---|
| 47 |
|
---|
| 48 | AT_CLEANUP
|
---|