Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisMatt committed Oct 3, 2023
1 parent 0c33e0f commit 29791ff
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ public void UnresolvedNumberContradictionRule_RowContradictionTest() throws Inva
for (int i = 0; i < board.getHeight(); i++) {
if (i == 3) {
Assert.assertNull(RULE.checkRuleAt(transition, board.getCell(i, i)));
} else {
}
else {
Assert.assertNotNull(RULE.checkRuleAt(transition, board.getCell(i, i)));
}
}
Expand All @@ -111,7 +112,8 @@ public void UnresolvedNumberContradictionRule_ColContradictionTest() throws Inva
for (int i = 0; i < board.getHeight(); i++) {
if (i == 1) {
Assert.assertNull(RULE.checkRuleAt(transition, board.getCell(i, i)));
} else {
}
else {
Assert.assertNotNull(RULE.checkRuleAt(transition, board.getCell(i, i)));
}
}
Expand All @@ -132,7 +134,8 @@ public void UnresolvedNumberContradictionRule_TwoContradictionTest() throws Inva
for (int i = 0; i < board.getHeight(); i++) {
if (i == 1 || i == 3) {
Assert.assertNull(RULE.checkRuleAt(transition, board.getCell(i, i)));
} else {
}
else {
Assert.assertNotNull(RULE.checkRuleAt(transition, board.getCell(i, i)));
}
}
Expand All @@ -153,7 +156,8 @@ public void UnresolvedNumberContradictionRule_ThreeContradictionTest() throws In
for (int i = 0; i < board.getHeight(); i++) {
if (i == 1 || i == 2) {
Assert.assertNull(RULE.checkRuleAt(transition, board.getCell(i, i)));
} else {
}
else {
Assert.assertNotNull(RULE.checkRuleAt(transition, board.getCell(i, i)));
}
}
Expand Down

0 comments on commit 29791ff

Please sign in to comment.