1 | AT_BANNER([MoleCuilder - Selections])
|
---|
2 | # 1. select all atoms
|
---|
3 | AT_SETUP([Selection - All Atoms])
|
---|
4 | AT_KEYWORDS([selection])
|
---|
5 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/pre/box.xyz allatoms.xyz], 0)
|
---|
6 | AT_CHECK([../../molecuilder -i allatoms.xyz -v 3 --select-all-atoms -r], 0, [stdout], [stderr])
|
---|
7 | AT_CHECK([file=allatoms.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/post/$file], 0, [ignore], [ignore])
|
---|
8 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/pre/box.xyz allatoms.xyz], 0)
|
---|
9 | AT_CHECK([../../molecuilder -i allatoms.xyz -v 3 --select-all-atoms --undo -r], 0, [stdout], [stderr])
|
---|
10 | AT_CHECK([file=allatoms.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/pre/box.xyz], 0, [ignore], [ignore])
|
---|
11 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/pre/box.xyz allatoms.xyz], 0)
|
---|
12 | AT_CHECK([../../molecuilder -i allatoms.xyz -v 3 --select-all-atoms --undo --redo -r], 0, [stdout], [stderr])
|
---|
13 | AT_CHECK([file=allatoms.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/post/$file], 0, [ignore], [ignore])
|
---|
14 | AT_CLEANUP
|
---|
15 |
|
---|
16 | # 2. select all atoms inside cuboid
|
---|
17 | AT_SETUP([Selection - BROKEN: All atoms inside cuboid])
|
---|
18 | AT_KEYWORDS([selection])
|
---|
19 | #AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/pre/box.xyz allatomsinsidecuboid.xyz], 0)
|
---|
20 | #AT_CHECK([../../molecuilder -i allatoms.xyz -v 3 --select-atoms-inside-cuboid "10,10,10" --position "0,0,0" --angle-x 0 --angle-y 0 --angle-z 0 -r], 0, [stdout], [stderr])
|
---|
21 | #AT_CHECK([file=allatomsinsidecuboid.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/post/$file], 0, [ignore], [ignore])
|
---|
22 | #AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/pre/box.xyz allatomsinsidecuboid.xyz], 0)
|
---|
23 | #AT_CHECK([../../molecuilder -i allatoms.xyz -v 3 --select-atoms-inside-cuboid "10,10,10" --position "0,0,0" --angle-x 0 --angle-y 0 --angle-z 0 --undo -r], 0, [stdout], [stderr])
|
---|
24 | #AT_CHECK([file=allatomsinsidecuboid.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/pre/box.xyz], 0, [ignore], [ignore])
|
---|
25 | #AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/pre/box.xyz allatomsinsidecuboid.xyz], 0)
|
---|
26 | #AT_CHECK([../../molecuilder -i allatoms.xyz -v 3 --select-atoms-inside-cuboid "10,10,10" --position "0,0,0" --angle-x 0 --angle-y 0 --angle-z 0 --undo --redo -r], 0, [stdout], [stderr])
|
---|
27 | #AT_CHECK([file=allatomsinsidecuboid.xyz; diff -I '.*Created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Selection/1/post/$file], 0, [ignore], [ignore])
|
---|
28 | AT_CLEANUP
|
---|