marking/knight3b_test.scala
changeset 88 990a1531135d
parent 87 9384b8c98014
child 93 21f41e08457d
equal deleted inserted replaced
87:9384b8c98014 88:990a1531135d
    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_tour(6, List((3, 3))).get
    34   val tsc = first_closed_tour_heuristic(6, 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)