changeset 284 | 9a04eb6a2291 |
parent 216 | 8c868feb917b |
283:ef5f62bf5987 | 284:9a04eb6a2291 |
---|---|
1 import CW8a._ |
|
1 |
2 |
2 assert(is_legal(8, Nil, (3, 4)) == true) |
3 assert(is_legal(8, Nil, (3, 4)) == true) |
3 assert(is_legal(8, List((4, 1), (1, 0)), (4, 1)) == false) |
4 assert(is_legal(8, List((4, 1), (1, 0)), (4, 1)) == false) |
4 assert(is_legal(2, Nil, (0, 0)) == true) |
5 assert(is_legal(2, Nil, (0, 0)) == true) |
5 |
6 |