author | Christian Urban <christian.urban@kcl.ac.uk> |
Thu, 10 Nov 2022 09:52:40 +0000 | |
changeset 441 | 3bfe81972674 |
parent 424 | daf561a83ba6 |
permissions | -rw-r--r-- |
424 | 1 |
import M4b._ |
391
0930e4555b60
added main4 marking
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
2 |
|
0930e4555b60
added main4 marking
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
3 |
assert(ordered_moves(8, List((3,4), (3,2)), (1, 3)) == List((0,1), (0,5), (2,1), (2,5))) |
0930e4555b60
added main4 marking
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
4 |
assert(ordered_moves(8, List((4,0)), (0,0)) == List((2,1), (1,2))) |
0930e4555b60
added main4 marking
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
5 |
assert(ordered_moves(8, List((0,4)), (0,0)) == List((1,2), (2,1))) |
0930e4555b60
added main4 marking
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
6 |