changeset 284 | 9a04eb6a2291 |
parent 218 | 22705d22c105 |
--- a/testing3/knight_test2.scala Tue Oct 29 23:56:13 2019 +0000 +++ b/testing3/knight_test2.scala Wed Oct 30 11:28:44 2019 +0000 @@ -1,3 +1,5 @@ + +import CW8a._ assert(legal_moves(8, Nil, (2,2)) == List((3,4), (4,3), (4,1), (3,0), (1,0), (0,1), (0,3), (1,4))) assert(legal_moves(8, Nil, (7,7)) == List((6,5), (5,6)))