Skip to content
Snippets Groups Projects
Commit 367909d6 authored by Ethan McDonough's avatar Ethan McDonough
Browse files

Fixed the other coords for the tests

parent e516389d
No related branches found
No related tags found
No related merge requests found
......@@ -49,15 +49,15 @@ public class DotsAndBoxesGridTest {
public void testDrawHorizontal() {
DotsAndBoxesGrid test2 = new DotsAndBoxesGrid(4,4,2);
test2.drawHorizontal(0,0,1);
test2.drawHorizontal(0,0,1); //Should throw exception here
test2.drawHorizontal(1,1,1);
test2.drawHorizontal(1,1,1); //Should throw exception here
}
@Test
public void testDrawVertical() {
DotsAndBoxesGrid test3 = new DotsAndBoxesGrid(4,4,2);
test3.drawVertical(0,0,1);
test3.drawVertical(0,0,1); //Should throw exception here
test3.drawVertical(1,1,1);
test3.drawVertical(1,1,1); //Should throw exception here
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment