diff -r 6ea450e999e2 -r 6d25ccbb3cf2 marking2/knight1a_test.scala --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/marking2/knight1a_test.scala Tue Dec 05 00:34:14 2017 +0000 @@ -0,0 +1,5 @@ + +assert(CW7a.is_legal(8, Nil)(3, 4) == true) +assert(CW7a.is_legal(8, List((4, 1), (1, 0)))(4, 1) == false) +assert(CW7a.is_legal(2, Nil)(0, 0) == true) +