Пример #1
0
        public void TestBuildSettlement()
        {
            var target = new Player();

            target.incrementSettlements();
            target.generateBrick();
            target.generateLumber();
            target.generateGrain();
            target.generateWool();

            target.buildSettlement();

            Assert.AreEqual(0, target.getHand().getBrick());
            Assert.AreEqual(0, target.getHand().getLumber());
            Assert.AreEqual(0, target.getHand().getWool());
            Assert.AreEqual(0, target.getHand().getGrain());
        }