Example #1
0
 @Test
 public void test_isMarkedRed6() {
   v.mark(6, AntColour.Red);
   assertTrue(v.isMarked(AntColour.Red, 6));
 }
Example #2
0
 @Test
 public void test_isMarkedRed4() {
   v.mark(4, AntColour.Red);
   assertTrue(v.isMarked(AntColour.Red, 4));
 }
Example #3
0
 @Test
 public void test_isMarkedRed5() {
   v.mark(5, AntColour.Red);
   assertTrue(v.isMarked(AntColour.Red, 5));
 }
Example #4
0
 @Test
 public void test_isMarkedRed2() {
   v.mark(2, AntColour.Red);
   assertTrue(v.isMarked(AntColour.Red, 2));
 }
Example #5
0
 @Test
 public void test_isMarkedRed3() {
   v.mark(3, AntColour.Red);
   assertTrue(v.isMarked(AntColour.Red, 3));
 }
Example #6
0
 @Test
 public void test_isMarkedBlack6() {
   v.mark(6, AntColour.Black);
   assertTrue(v.isMarked(AntColour.Black, 6));
 }
Example #7
0
 // Start of red marker tests
 @Test
 public void test_isMarkedRed1() {
   v.mark(1, AntColour.Red);
   assertTrue(v.isMarked(AntColour.Red, 1));
 }
Example #8
0
 @Test
 public void test_isMarkedBlack5() {
   v.mark(5, AntColour.Black);
   assertTrue(v.isMarked(AntColour.Black, 5));
 }
Example #9
0
 @Test
 public void test_isMarkedBlack4() {
   v.mark(4, AntColour.Black);
   assertTrue(v.isMarked(AntColour.Black, 4));
 }
Example #10
0
 @Test
 public void test_isMarkedBlack3() {
   v.mark(3, AntColour.Black);
   assertTrue(v.isMarked(AntColour.Black, 3));
 }
Example #11
0
 @Test
 public void test_isMarkedBlack2() {
   v.mark(2, AntColour.Black);
   assertTrue(v.isMarked(AntColour.Black, 2));
 }
Example #12
0
 // Start of black marker tests
 @Test
 public void test_isMarkedBlack1() {
   v.mark(1, AntColour.Black);
   assertTrue(v.isMarked(AntColour.Black, 1));
 }