()
| 247 | func(a,b) |
| 248 | |
| 249 | def test1(): |
| 250 | s = RealStacks(10) |
| 251 | a = Arm(s) |
| 252 | a.moveOnto(9, 1) |
| 253 | a.moveOver(8, 1) |
| 254 | a.moveOver(7, 1) |
| 255 | a.moveOver(6, 1) |
| 256 | a.pileOver(8, 6) |
| 257 | a.pileOver(8, 5) |
| 258 | a.moveOver(2, 1) |
| 259 | a.moveOver(4, 9) |
| 260 | a.quit() |
| 261 | |
| 262 | def test2(): |
| 263 | from StringIO import StringIO |