| changeset 421 | 864107857d27 |
| parent 391 | 048fc6b70776 |
| 420:a6db2b70abdd | 421:864107857d27 |
|---|---|
1 import CW9b._ |
1 import M4b._ |
2 |
2 |
3 assert(ordered_moves(8, List((3,4), (3,2)), (1, 3)) == List((0,1), (0,5), (2,1), (2,5))) |
3 assert(ordered_moves(8, List((3,4), (3,2)), (1, 3)) == List((0,1), (0,5), (2,1), (2,5))) |
4 assert(ordered_moves(8, List((4,0)), (0,0)) == List((2,1), (1,2))) |
4 assert(ordered_moves(8, List((4,0)), (0,0)) == List((2,1), (1,2))) |
5 assert(ordered_moves(8, List((0,4)), (0,0)) == List((1,2), (2,1))) |
5 assert(ordered_moves(8, List((0,4)), (0,0)) == List((1,2), (2,1))) |
6 |
6 |
7 |
|
8 |
|
9 /* |
|
10 import scala.concurrent._ |
|
11 import scala.concurrent.duration._ |
|
12 import ExecutionContext.Implicits.global |
|
13 import scala.language.postfixOps |
|
14 |
|
15 lazy val f = Future { |
|
16 } |
|
17 |
|
18 Await.result(f, 120 second) |
|
19 */ |