equal
deleted
inserted
replaced
|
1 |
|
2 import Resit._ |
|
3 |
|
4 assert(score("chess", "caves") == List(Correct, Absent, Absent, Present, Correct)) |
|
5 assert(score("doses", "slide") == List(Present, Absent, Absent, Present, Present)) |
|
6 assert(score("chess", "swiss") == List(Absent, Absent, Absent, Correct, Correct)) |
|
7 assert(score("chess", "eexss") == List(Present, Absent, Absent, Correct, Correct)) |
|
8 |
|
9 val urban_p = pool("chess", "caves") |
|
10 |
|
11 assert(aux("chess".toList, "caves".toList, Nil) == List(Correct, Absent, Absent, Absent, Correct)) |
|
12 assert(aux("chess".toList, "caves".toList, urban_p) == List(Correct, Absent, Absent, Present, Correct)) |