コード例 #1
0
        public void IfPlayerGetsToTheEndThenTheyWin()
        {
            Board board = new Board(MockConsole.Empty(), 100);

            Assert.True(board.HasWon(100));
        }
コード例 #2
0
 private static GameSetup FromConsole(MockConsole console)
 {
     return(new GameSetup(console, new Board(console, 100), new Dice()));
 }