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