Пример #1
0
        public void CanCreatePack()
        {
            // arrange

            // act
            var pack = new Pack();

            // assert
            Assert.Equal(52, pack.Count());
        }
Пример #2
0
        public void CanDeal()
        {
            // arrange
            var pack = new Pack();

            // act
            var hand = pack.Deal(5);

            // assert
            Assert.Equal(5, hand.Count());
            Assert.Equal(47, pack.Count());
        }