コード例 #1
0
        void GivenAnFullDeck_Shuffle_ReturnsAShuffledDeck()
        {
            Assert.Equal(52, _packOfCards.Count());

            _packOfCards.Shuffle();

            Assert.Equal(52, _packOfCards.Count());
            Assert.False(_reference.First().Equals(_packOfCards.First()));
            Assert.False(_reference.Last().Equals(_packOfCards.Last()));
        }