Пример #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_isMarkedBlack4() {
   v.mark(4, AntColour.Black);
   assertTrue(v.isMarked(AntColour.Black, 4));
 }
Пример #9
0
 @Test
 public void test_isMarkedBlack5() {
   v.mark(5, AntColour.Black);
   assertTrue(v.isMarked(AntColour.Black, 5));
 }
Пример #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));
 }
Пример #13
0
 @Test
 public void test_checkConditionRedMarker() {
   c.mark(4, AntColour.Red);
   assertTrue(c.checkCondition(Condition.RedMarker) == true);
 }
Пример #14
0
 @Test
 public void test_checkConditionBlackMarker() {
   c.mark(2, AntColour.Black);
   assertTrue(c.checkCondition(Condition.BlackMarker) == true);
 }