From 29791ff759b4c75d1e845dd16584e49f6c27d4cb Mon Sep 17 00:00:00 2001 From: ThisMatt Date: Tue, 3 Oct 2023 15:11:10 -0400 Subject: [PATCH] checkstyle --- .../rules/UnresolvedNumberContradictionTest.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/test/java/puzzles/skyscrapers/rules/UnresolvedNumberContradictionTest.java b/src/test/java/puzzles/skyscrapers/rules/UnresolvedNumberContradictionTest.java index ba96182a1..fe4a4865a 100644 --- a/src/test/java/puzzles/skyscrapers/rules/UnresolvedNumberContradictionTest.java +++ b/src/test/java/puzzles/skyscrapers/rules/UnresolvedNumberContradictionTest.java @@ -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))); } } @@ -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))); } } @@ -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))); } } @@ -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))); } }