コード例 #1
0
        public void Flush()
        {
            // ARRANGE
            var game = new Game(
                CardBuilder.Five().Spades(),
                CardBuilder.Six().Spades(),
                CardBuilder.Ace().Spades(),
                CardBuilder.Ten().Spades(),
                CardBuilder.Queen().Spades());

            // ACT
            new GameEvaluator().Evaluate(game);

            // ASSERT
            Assert.AreEqual(GameCategory.FLUSH, game.Category);
        }