1 | ### set boundary conditions
|
---|
2 |
|
---|
3 | AT_SETUP([Domain - set boundary conditions])
|
---|
4 | AT_KEYWORDS([domain set-boundary-conditions])
|
---|
5 |
|
---|
6 | BC="Wrap Wrap Wrap"
|
---|
7 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC], 0, [stdout], [stderr])
|
---|
8 | AT_CHECK([fgrep "Boundary conditions are now ${BC}" stdout], 0, [ignore], [ignore])
|
---|
9 | BC="Bounce Bounce Bounce"
|
---|
10 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC], 0, [stdout], [stderr])
|
---|
11 | AT_CHECK([fgrep "Boundary conditions are now ${BC}" stdout], 0, [ignore], [ignore])
|
---|
12 | BC="Ignore Ignore Ignore"
|
---|
13 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC], 0, [stdout], [stderr])
|
---|
14 | AT_CHECK([fgrep "Boundary conditions are now ${BC}" stdout], 0, [ignore], [ignore])
|
---|
15 | BC="Wrap Bounce Ignore"
|
---|
16 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC], 0, [stdout], [stderr])
|
---|
17 | AT_CHECK([fgrep "Boundary conditions are now ${BC}" stdout], 0, [ignore], [ignore])
|
---|
18 |
|
---|
19 | AT_CLEANUP
|
---|
20 |
|
---|
21 |
|
---|
22 | AT_SETUP([Domain - set boundary conditions with Undo])
|
---|
23 | AT_KEYWORDS([domain set-boundary-conditions undo])
|
---|
24 |
|
---|
25 | Check_BC="Wrap Wrap Wrap"
|
---|
26 | BC="Wrap Wrap Wrap"
|
---|
27 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo], 0, [stdout], [stderr])
|
---|
28 | AT_CHECK([fgrep "Boundary conditions are set back to ${Check_BC}" stdout], 0, [ignore], [ignore])
|
---|
29 | BC="Bounce Bounce Bounce"
|
---|
30 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo], 0, [stdout], [stderr])
|
---|
31 | AT_CHECK([fgrep "Boundary conditions are set back to ${Check_BC}" stdout], 0, [ignore], [ignore])
|
---|
32 | BC="Ignore Ignore Ignore"
|
---|
33 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo], 0, [stdout], [stderr])
|
---|
34 | AT_CHECK([fgrep "Boundary conditions are set back to ${Check_BC}" stdout], 0, [ignore], [ignore])
|
---|
35 | BC="Wrap Bounce Ignore"
|
---|
36 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo], 0, [stdout], [stderr])
|
---|
37 | AT_CHECK([fgrep "Boundary conditions are set back to ${Check_BC}" stdout], 0, [ignore], [ignore])
|
---|
38 |
|
---|
39 | AT_CLEANUP
|
---|
40 |
|
---|
41 |
|
---|
42 | AT_SETUP([Domain - set boundary conditions with Redo])
|
---|
43 | AT_KEYWORDS([domain set-boundary-conditions redo])
|
---|
44 |
|
---|
45 | BC="Wrap Wrap Wrap"
|
---|
46 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo --redo], 0, [stdout], [stderr])
|
---|
47 | AT_CHECK([fgrep "Boundary conditions are again ${BC}" stdout], 0, [ignore], [ignore])
|
---|
48 | BC="Bounce Bounce Bounce"
|
---|
49 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo --redo], 0, [stdout], [stderr])
|
---|
50 | AT_CHECK([fgrep "Boundary conditions are again ${BC}" stdout], 0, [ignore], [ignore])
|
---|
51 | BC="Ignore Ignore Ignore"
|
---|
52 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo --redo], 0, [stdout], [stderr])
|
---|
53 | AT_CHECK([fgrep "Boundary conditions are again ${BC}" stdout], 0, [ignore], [ignore])
|
---|
54 | BC="Wrap Bounce Ignore"
|
---|
55 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo --redo], 0, [stdout], [stderr])
|
---|
56 | AT_CHECK([fgrep "Boundary conditions are again ${BC}" stdout], 0, [ignore], [ignore])
|
---|
57 |
|
---|
58 | AT_CLEANUP
|
---|