1 | ### Rotate around self
|
---|
2 |
|
---|
3 | AT_SETUP([Molecules - Rotate around self])
|
---|
4 | AT_KEYWORDS([Molecules])
|
---|
5 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/RotateAroundSelf/pre/test.xyz .], 0)
|
---|
6 | AT_CHECK([../../molecuilder -i test.xyz --select-all-molecules --rotate-around-self 90. --axis "0,0,1"], 0, [stdout], [stderr])
|
---|
7 | AT_CHECK([diff -I '.*Created by molecuilder.*' test.xyz ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/RotateAroundSelf/post/test-rotated-z90.xyz], 0, [ignore], [ignore])
|
---|
8 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/RotateAroundSelf/pre/test.xyz .], 0)
|
---|
9 | AT_CHECK([../../molecuilder -i test.xyz --select-all-molecules --rotate-around-self 180. --axis "0,0,1"], 0, [stdout], [stderr])
|
---|
10 | AT_CHECK([diff -I '.*Created by molecuilder.*' test.xyz ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/RotateAroundSelf/post/test-rotated-z180.xyz], 0, [ignore], [ignore])
|
---|
11 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/RotateAroundSelf/pre/test.xyz .], 0)
|
---|
12 | AT_CHECK([../../molecuilder -i test.xyz --select-all-molecules --rotate-around-self 360. --axis "0,0,1"], 0, [stdout], [stderr])
|
---|
13 | AT_CHECK([diff -I '.*Created by molecuilder.*' test.xyz ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/RotateAroundSelf/post/test-rotated-z360.xyz], 0, [ignore], [ignore])
|
---|
14 | AT_CHECK([diff -I '.*Created by molecuilder.*' test.xyz ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/RotateAroundSelf/pre/test.xyz], 0, [ignore], [ignore])
|
---|
15 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/RotateAroundSelf/pre/test.xyz .], 0)
|
---|
16 | AT_CHECK([../../molecuilder -i test.xyz --select-all-molecules --rotate-around-self 20. --axis "1,2,1"], 0, [stdout], [stderr])
|
---|
17 | AT_CHECK([diff -I '.*Created by molecuilder.*' test.xyz ${abs_top_srcdir}/${AUTOTEST_PATH}/Molecules/RotateAroundSelf/post/test-rotated-xYz20.xyz], 0, [ignore], [ignore])
|
---|
18 | AT_CLEANUP
|
---|