[967b3c] | 1 | ### Translation-Periodic
|
---|
| 2 |
|
---|
| 3 | AT_SETUP([Molecules - Translation with periodic boundaries])
|
---|
[e611dc] | 4 | AT_KEYWORDS([molecules translate-atoms])
|
---|
[23b0c2] | 5 |
|
---|
| 6 | file=test.conf
|
---|
[7db9bd] | 7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/Translation-Periodic/pre/test.conf $file], 0)
|
---|
[23b0c2] | 8 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 9 | AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --select-molecules-atoms -t "-8., -8., -8." --periodic 1], 0, [stdout], [stderr])
|
---|
[7db9bd] | 10 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/Translation-Periodic/post/test.conf], 0, [ignore], [ignore])
|
---|
[23b0c2] | 11 |
|
---|
[967b3c] | 12 | AT_CLEANUP
|
---|
[e69c87] | 13 |
|
---|
| 14 |
|
---|
| 15 | AT_SETUP([Molecules - Translation with periodic boundaries with Undo])
|
---|
[e611dc] | 16 | AT_KEYWORDS([molecules translate-atoms undo])
|
---|
[e69c87] | 17 |
|
---|
| 18 | file=test.conf
|
---|
[7db9bd] | 19 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/Translation-Periodic/pre/test.conf $file], 0)
|
---|
[e69c87] | 20 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 21 | AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --select-molecules-atoms -t "-8., -8., -8." --periodic 1 --undo], 0, [stdout], [stderr])
|
---|
[7db9bd] | 22 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/Translation-Periodic/post/test-undo.conf], 0, [ignore], [ignore])
|
---|
[e69c87] | 23 |
|
---|
| 24 | AT_CLEANUP
|
---|
| 25 |
|
---|
| 26 |
|
---|
| 27 | AT_SETUP([Molecules - Translation with periodic boundaries with Redo])
|
---|
[e611dc] | 28 | AT_KEYWORDS([molecules translate-atoms redo])
|
---|
[e69c87] | 29 |
|
---|
| 30 | file=test.conf
|
---|
[7db9bd] | 31 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Molecules/Translation-Periodic/pre/test.conf $file], 0)
|
---|
[e69c87] | 32 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 33 | AT_CHECK([../../molecuilder -i $file --select-molecule-by-id 0 --select-molecules-atoms -t "-8., -8., -8." --periodic 1 --undo --redo], 0, [stdout], [stderr])
|
---|
[7db9bd] | 34 | AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Molecules/Translation-Periodic/post/test.conf], 0, [ignore], [ignore])
|
---|
[e69c87] | 35 |
|
---|
| 36 | AT_CLEANUP
|
---|