[8a957e] | 1 | ### define box setting
|
---|
| 2 |
|
---|
| 3 | AT_SETUP([Domain - defining simulation domain])
|
---|
[e611dc] | 4 | AT_KEYWORDS([domain change-box])
|
---|
[718542] | 5 |
|
---|
[8a957e] | 6 | AT_CHECK([../../molecuilder -i test.conf -o pcp -B "10, 0, 10, 0, 0, 10"], 0, [stdout], [stderr])
|
---|
[3bd460a] | 7 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
| 8 | AT_CHECK([fgrep "BoxLength" test.conf], 0, [ignore], [ignore])
|
---|
[7db9bd] | 9 | AT_CHECK([diff test.conf ${abs_top_srcdir}/tests/regression/Domain/ChangeBox/post/test.conf], 0, [stdout], [stderr])
|
---|
[718542] | 10 |
|
---|
| 11 | AT_CLEANUP
|
---|
| 12 |
|
---|
| 13 |
|
---|
| 14 | AT_SETUP([Domain - defining simulation domain])
|
---|
[e611dc] | 15 | AT_KEYWORDS([domain change-box undo])
|
---|
[718542] | 16 |
|
---|
| 17 | AT_CHECK([../../molecuilder -i test.conf -o pcp -B "10, 0, 10, 0, 0, 10" --undo], 0, [stdout], [stderr])
|
---|
| 18 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
| 19 | AT_CHECK([fgrep "BoxLength" test.conf], 0, [ignore], [ignore])
|
---|
[7db9bd] | 20 | AT_CHECK([diff test.conf ${abs_top_srcdir}/tests/regression/Domain/ChangeBox/post/test-undo.conf], 0, [stdout], [stderr])
|
---|
[718542] | 21 |
|
---|
| 22 | AT_CLEANUP
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | AT_SETUP([Domain - defining simulation domain])
|
---|
[e611dc] | 26 | AT_KEYWORDS([domain change-box redo])
|
---|
[718542] | 27 |
|
---|
| 28 | AT_CHECK([../../molecuilder -i test.conf -o pcp -B "10, 0, 10, 0, 0, 10" --undo --redo], 0, [stdout], [stderr])
|
---|
| 29 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
| 30 | AT_CHECK([fgrep "BoxLength" test.conf], 0, [ignore], [ignore])
|
---|
[7db9bd] | 31 | AT_CHECK([diff test.conf ${abs_top_srcdir}/tests/regression/Domain/ChangeBox/post/test.conf], 0, [stdout], [stderr])
|
---|
[718542] | 32 |
|
---|
[8a957e] | 33 | AT_CLEANUP
|
---|