--- a/marking3/knight1_test5.scala Tue Feb 04 11:20:31 2020 +0000
+++ b/marking3/knight1_test5.scala Tue Feb 04 14:15:42 2020 +0000
@@ -1,3 +1,4 @@
+import CW8a._
//type Pos = (Int, Int) // a position on a chessboard
//type Path = List[Pos] // a path...a list of positions
@@ -23,8 +24,8 @@
}
-val ts1_urban = first_tour(8, List((0, 0))).get
-assert(correct_urban(8)(ts1_urban) == true)
+val ts1_urban = first_tour(6, List((0, 0))).get
+assert(correct_urban(6)(ts1_urban) == true)
val ts2_urban = first_tour(4, List((0, 0)))
assert(ts2_urban == None)