marking3/knight1_test1.scala
changeset 243 9bb36426c781
child 326 e5453add7df6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/marking3/knight1_test1.scala	Sun Dec 09 01:36:49 2018 +0000
@@ -0,0 +1,6 @@
+
+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)
+
+