Make something with Java test!
Errors at tests with size 4 and 100 (maibe more).
Or explain me why next result is not valid for size 4:
1,1,1,1
0,0,0,1
1,0,0,1
1,1,1,1
I try to "Run simple test". Then I see that test falled with message:
"expected: java.util.Arrays$ArrayList<[8, 118, 334]> but was: java.util.Arrays$ArrayList<[8, 118, 334]>"
This test expect List.
Fix it, please.
Fixed by Chrono79
This comment is hidden because it contains spoiler information about the solution
Make something with Java test!
Errors at tests with size 4 and 100 (maibe more).
Or explain me why next result is not valid for size 4:
1,1,1,1
0,0,0,1
1,0,0,1
1,1,1,1
Actually, the problem was rather that it expected a List of Integers instead of a list of Longs. ;)
Corrected.
I try to "Run simple test". Then I see that test falled with message:
"expected: java.util.Arrays$ArrayList<[8, 118, 334]> but was: java.util.Arrays$ArrayList<[8, 118, 334]>"
This test expect List.
Fix it, please.
From the assignment: "Each snake or ladder will always end on a square with a 0, so you will only go up or down one at a time."