Beispiel #1
0
 public void square19ValidBlackMoveFromInitialBoard()
 {
     MoveHandler mh = new MoveHandler();
     mh.Board = new Board(Board.InitialState);
     mh.PlayerColor = Colors.Black;
     Assert.IsTrue(mh.Moves[19]);
 }
Beispiel #2
0
 public void squares20_29_34_43ValidWhiteMoveFromInitialBoard()
 {
     MoveHandler mh = new MoveHandler();
     mh.Board = new Board(Board.InitialState);
     mh.PlayerColor = Colors.White;
     Assert.IsTrue(mh.Moves[20]);
     Assert.IsTrue(mh.Moves[29]);
     Assert.IsTrue(mh.Moves[34]);
     Assert.IsTrue(mh.Moves[43]);
 }