Fixing broken test case
This commit is contained in:
parent
5bf0c92d10
commit
ffd1d4bd51
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ class SolverTest {
|
|||
assertTrue(solver.isLegal(0, 0, 1));
|
||||
solver.set(0, 0, 1);
|
||||
|
||||
IntStream.range(0, 9).forEach(i -> {
|
||||
// Start from one, since setting the same value is legal
|
||||
IntStream.range(1, 9).forEach(i -> {
|
||||
assertFalse(solver.isLegal(0, i, 1));
|
||||
assertFalse(solver.isLegal(i, 0, 1));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue