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

            Assert.IsNull(target[point]);
        }
Esempio n. 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);
 }
Esempio n. 3
0
 public void RemoveTest3()
 {
     Board target = new Board();
     int x = 3;
     int y = 2;
     target[y, x] = null;
     target.Remove(x, y);
 }
Esempio n. 4
0
 public void RemoveTest2()
 {
     Board target = new Board();
     int x = 3;
     int y = 3;
     target.Remove(x, y);
 }
Esempio n. 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]);
 }
Esempio n. 6
0
 public void RemoveTest()
 {
     Board target = new Board();
     int x = 3;
     int y = 2;
     target.Remove(x, y);
     Assert.IsNull(target[y, x]);
 }