Пример #1
0
        public void TestThatHandHasDevelopmentCardResources_Boundary()
        {
            Hand hand = new Hand();

            // At first it does not have sufficient resources
            Assert.False(hand.hasDevCardResources());

            // Now give it the necessary resources
            hand.modifyWool(1);
            hand.modifyGrain(1);
            hand.modifyOre(1);
            Assert.True(hand.hasDevCardResources());
        }
Пример #2
0
 public void TestThatHandHasDevelopmentCardResources_Average()
 {
     Hand hand = new Hand();
     hand.modifyWool(5);
     hand.modifyGrain(5);
     hand.modifyOre(5);
     Assert.True(hand.hasDevCardResources());
 }