diff -r e9d14d58be3c -r daf561a83ba6 main_marking4/knight1_test1.scala --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main_marking4/knight1_test1.scala Mon Apr 11 23:55:27 2022 +0100 @@ -0,0 +1,9 @@ +import M4a._ + +assert(is_legal(8, Nil, (3, 4)) == true) +assert(is_legal(8, List((4, 1), (1, 0)), (4, 1)) == false) +assert(is_legal(2, Nil, (0, 0)) == true) + + + +