コード例 #1
0
 public void TestDecrementAllResources()
 {
     var target = new Bank();
     Assert.True(target.allResourcesMax());
     target.decrementAllResources(1);
     Assert.False(target.allResourcesMax());
 }
コード例 #2
0
 public void TestConstructorSetsFieldsCorrectly()
 {
     Bank target = new Bank();
     Assert.True(target.allResourcesMax());
 }