Exemple #1
0
        public void Can_create_game_with_two_players()
        {
            var game = new Game();
            game.AddPlayer(new Player {Name = "Paul"});
            game.AddPlayer(new Player {Name = "Tristan"});

            game.Players.ShouldHaveCount(2);
        }
Exemple #2
0
        public void Players_draw_six_and_discard_down_to_four_on_game_start()
        {
            var inputMock = new Mock<GameInput>();

            var game = new Game(DrawDeck.CreateWithCards(20), inputMock.Object, null);
            game.AddPlayer(new Player { Name = "Paul"});
            game.AddPlayer(new Player { Name = "Tristan"});

            game.Start();

            Assert.Fail();
        }