Exemple #1
0
        public void ShouldHave_0_StartingCrystals()
        {
            //assign
            IDeck        startingDummyDeck = new DummyDeck();
            IDummyPlayer dummyPlayer       = new DummyPlayer(startingDummyDeck);
            //act
            int startingCrystalCount = dummyPlayer.CrystalCount();

            //assert
            startingCrystalCount.Should().Be(0);
        }
Exemple #2
0
        public void ShouldHave_1_StartingCrystal()
        {
            //assign
            IEnumerable <ICrystal> crystals = new List <ICrystal> {
                new GreenCrystal()
            };
            IDeck        startingDummyDeck = new DummyDeck();
            IDummyPlayer dummyPlayer       = new DummyPlayer(startingDummyDeck, crystals);
            //act
            int startingCrystalCount = dummyPlayer.CrystalCount();

            //assert
            startingCrystalCount.Should().Be(1);
        }