--- a/marking3/knight1_test3b.scala Tue Nov 26 01:22:36 2019 +0000
+++ b/marking3/knight1_test3b.scala Tue Dec 03 01:22:16 2019 +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
@@ -22,6 +23,10 @@
}
+val ts00_urban = enum_tours(5, List((0, 0)))
+assert(ts00_urban.map(correct_urban(5)).forall(_ == true) == true)
+assert(ts00_urban.length == 304)
+
val ts_urban = enum_tours(5, List((0, 2)))
assert(ts_urban.map(correct_urban(5)).forall(_ == true) == true)