Example #1
0
        public void RemoveTest5()
        {
            Board target = new Board();
            BoardPoint point = new BoardPoint(2, 3);
            target.Remove(point);

            Assert.IsNull(target[point]);
        }
Example #2
0
 public void RemoveTest4()
 {
     Board target = new Board();
     int x = 3;
     int y = 2;
     target.Remove(x, y);
     Assert.AreEqual<int>(11, target.LeftDraughtPlayerTwo);
 }
Example #3
0
 public void RemoveTest3()
 {
     Board target = new Board();
     int x = 3;
     int y = 2;
     target[y, x] = null;
     target.Remove(x, y);
 }
Example #4
0
 public void RemoveTest2()
 {
     Board target = new Board();
     int x = 3;
     int y = 3;
     target.Remove(x, y);
 }
Example #5
0
 public void RemoveTest1()
 {
     Board target = new Board();
     int x = 3;
     int y = 2;
     Draught draught = target[y, x];
     target.Remove(draught);
     Assert.IsNull(target[y, x]);
 }
Example #6
0
 public void RemoveTest()
 {
     Board target = new Board();
     int x = 3;
     int y = 2;
     target.Remove(x, y);
     Assert.IsNull(target[y, x]);
 }