| [c52e08] | 1 | ### set boundary conditions
 | 
|---|
 | 2 | 
 | 
|---|
 | 3 | AT_SETUP([Domain - set boundary conditions])
 | 
|---|
 | 4 | AT_KEYWORDS([domain set-boundary-conditions])
 | 
|---|
 | 5 | 
 | 
|---|
| [97f9b9] | 6 | BC="Wrap Wrap Wrap"
 | 
|---|
 | 7 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC], 0, [stdout], [stderr])
 | 
|---|
| [c52e08] | 8 | AT_CHECK([fgrep "Boundary conditions are now ${BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
| [97f9b9] | 9 | BC="Bounce Bounce Bounce"
 | 
|---|
 | 10 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC], 0, [stdout], [stderr])
 | 
|---|
| [c52e08] | 11 | AT_CHECK([fgrep "Boundary conditions are now ${BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
| [97f9b9] | 12 | BC="Ignore Ignore Ignore"
 | 
|---|
 | 13 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC], 0, [stdout], [stderr])
 | 
|---|
| [c52e08] | 14 | AT_CHECK([fgrep "Boundary conditions are now ${BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
| [97f9b9] | 15 | BC="Wrap Bounce Ignore"
 | 
|---|
 | 16 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC], 0, [stdout], [stderr])
 | 
|---|
| [c52e08] | 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 | 
 | 
|---|
| [97f9b9] | 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])
 | 
|---|
| [c52e08] | 28 | AT_CHECK([fgrep "Boundary conditions are set back to ${Check_BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
| [97f9b9] | 29 | BC="Bounce Bounce Bounce"
 | 
|---|
 | 30 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo], 0, [stdout], [stderr])
 | 
|---|
| [c52e08] | 31 | AT_CHECK([fgrep "Boundary conditions are set back to ${Check_BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
| [97f9b9] | 32 | BC="Ignore Ignore Ignore"
 | 
|---|
 | 33 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo], 0, [stdout], [stderr])
 | 
|---|
| [c52e08] | 34 | AT_CHECK([fgrep "Boundary conditions are set back to ${Check_BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
| [97f9b9] | 35 | BC="Wrap Bounce Ignore"
 | 
|---|
 | 36 | AT_CHECK([../../molecuilder -B "5,0,5,0,0,5" --set-boundary-conditions $BC --undo], 0, [stdout], [stderr])
 | 
|---|
| [c52e08] | 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 | 
 | 
|---|
| [97f9b9] | 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])
 | 
|---|
| [c52e08] | 47 | AT_CHECK([fgrep "Boundary conditions are again ${BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
| [97f9b9] | 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])
 | 
|---|
| [c52e08] | 50 | AT_CHECK([fgrep "Boundary conditions are again ${BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
| [97f9b9] | 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])
 | 
|---|
| [c52e08] | 53 | AT_CHECK([fgrep "Boundary conditions are again ${BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
| [97f9b9] | 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])
 | 
|---|
| [c52e08] | 56 | AT_CHECK([fgrep "Boundary conditions are again ${BC}" stdout], 0, [ignore], [ignore])
 | 
|---|
 | 57 | 
 | 
|---|
 | 58 | AT_CLEANUP
 | 
|---|