marking3/knight1_test1.scala
changeset 326 e5453add7df6
parent 243 9bb36426c781
equal deleted inserted replaced
325:ca9c1cf929fa 326:e5453add7df6
       
     1 import CW8a._
     1 
     2 
     2 assert(is_legal(8, Nil, (3, 4)) == true)
     3 assert(is_legal(8, Nil, (3, 4)) == true)
     3 assert(is_legal(8, List((4, 1), (1, 0)), (4, 1)) == false)
     4 assert(is_legal(8, List((4, 1), (1, 0)), (4, 1)) == false)
     4 assert(is_legal(2, Nil, (0, 0)) == true)
     5 assert(is_legal(2, Nil, (0, 0)) == true)
     5 
     6 
     6 
     7 
       
     8 
       
     9