main_marking4/knight1_test1.scala
changeset 424 daf561a83ba6
parent 386 e2170c91a9f2
--- /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)
+
+
+
+