Commit a47e1f64 authored by Martin Schreiber's avatar Martin Schreiber
Browse files

fixed horizontalReDrawTest

parent de4783d4
......@@ -59,7 +59,7 @@ public class DotsAndBoxesGridTest {
logger.error("Test whether drawHorizontal throws exception if line is already present");
DotsAndBoxesGrid grid = new DotsAndBoxesGrid(15, 8, 2);
grid.drawHorizontal(0,0,1);
assertThrows(RuntimeException.class, () -> grid.boxComplete(0, 0));
assertThrows(RuntimeException.class, () -> grid.drawHorizontal(0, 0,1));
}
@Test
public void verticalReDrawTest() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment