Skip to content
Snippets Groups Projects
Commit a47e1f64 authored by Martin Schreiber's avatar Martin Schreiber
Browse files

fixed horizontalReDrawTest

parent de4783d4
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ public class DotsAndBoxesGridTest { ...@@ -59,7 +59,7 @@ public class DotsAndBoxesGridTest {
logger.error("Test whether drawHorizontal throws exception if line is already present"); logger.error("Test whether drawHorizontal throws exception if line is already present");
DotsAndBoxesGrid grid = new DotsAndBoxesGrid(15, 8, 2); DotsAndBoxesGrid grid = new DotsAndBoxesGrid(15, 8, 2);
grid.drawHorizontal(0,0,1); grid.drawHorizontal(0,0,1);
assertThrows(RuntimeException.class, () -> grid.boxComplete(0, 0)); assertThrows(RuntimeException.class, () -> grid.drawHorizontal(0, 0,1));
} }
@Test @Test
public void verticalReDrawTest() { public void verticalReDrawTest() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment