Esempio n. 1
0
        public void StraightFlush()
        {
            // ARRANGE
            var game = new Game(
                CardBuilder.Eight().Hearths(),
                CardBuilder.Seven().Hearths(),
                CardBuilder.Nine().Hearths(),
                CardBuilder.Ten().Hearths(),
                CardBuilder.Jack().Hearths());

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

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