Skip to content
Snippets Groups Projects
Commit 38836473 authored by gbrown31's avatar gbrown31
Browse files

Refactor test

 - Changed draw methods bounds testing to its own test
parent 1a50fa77
Branches
No related merge requests found
......@@ -97,6 +97,11 @@ public class DotsAndBoxesGridTest {
case1.drawVertical(0, 0, 0);
}
);
}
@Test
public void drawMethodsStayWithinBounds() {
DotsAndBoxesGrid case1 = new DotsAndBoxesGrid(width, height, 2);
/*
* Drawn lines are within game board bounds
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment