Exemplo n.º 1
0
        public void MountChessboard_ShouldReturn()
        {
            Piece[,] expected = (Pieces)InitialChessboard;
            Piece[,] actual   = (Pieces)MountChessboardCommand.MountChessboard();

            actual.ShouldBeEquivalentTo(expected);
        }
Exemplo n.º 2
0
 internal Game(
     Entities.Chessboard chessboard,
     MountChessboardCommand mountChessboard,
     IDictionary <string, Player> players)
 {
     this.chessboard      = chessboard;
     this.mountChessboard = mountChessboard;
     this.players         = players;
 }
Exemplo n.º 3
0
        public MountChessboardCommandTests()
        {
            this.chessboardMock = new Mock <Chessboard>();

            this.mountChessboard = new MountChessboardCommand();
        }