Ejemplo n.º 1
0
        public void NoProvincesRemain_returns_true()
        {
            var victorySupply  = new List <Pile>();
            var kingdomSupply  = new List <Pile>();
            var treasureSupply = new List <Pile>();

            var supply = new Supply(treasureSupply, victorySupply, kingdomSupply);

            var actual = supply.NoProvincesRemain();

            Assert.True(actual);
        }
Ejemplo n.º 2
0
        public void NoProvincesRemain_returns_false()
        {
            var victorySupply = new List <Pile>()
            {
                new Pile(new List <Card>()
                {
                    Card.Province
                })
            };

            var kingdomSupply  = new List <Pile>();
            var treasureSupply = new List <Pile>();

            var supply = new Supply(treasureSupply, victorySupply, kingdomSupply);

            var actual = supply.NoProvincesRemain();

            Assert.False(actual);
        }