marking/knight3b_test.scala
changeset 93 21f41e08457d
parent 88 990a1531135d
child 98 8f03f0dc3065
equal deleted inserted replaced
92:cfff88de2ff5 93:21f41e08457d
    29   correct_urban(dim)(path) && moves_urban(path.head).contains(path.last)
    29   correct_urban(dim)(path) && moves_urban(path.head).contains(path.last)
    30 
    30 
    31 
    31 
    32 lazy val f = Future {
    32 lazy val f = Future {
    33 
    33 
    34   val tsc = first_closed_tour_heuristic(6, List((3, 3))).get
    34   val tsc = first_closed_tour_heuristic(6, List(List((3, 3)))).get
    35   assert(correct_closed_urban(6)(tsc) == true)
    35   assert(correct_closed_urban(6)(tsc) == true)
    36 
    36 
    37 }
    37 }
    38 
    38 
    39 Await.result(f, 300 second)
    39 Await.result(f, 300 second)