Exemplo n.º 1
0
 public void TestGetResourceRemaining()
 {
     var target = new Bank();
     Assert.AreEqual(target.getOreRemaining(), 19);
     Assert.AreEqual(target.getWoolRemaining(), 19);
     Assert.AreEqual(target.getLumberRemaining(), 19);
     Assert.AreEqual(target.getGrainRemaining(), 19);
     Assert.AreEqual(target.getBrickRemaining(), 19);
     Assert.AreEqual(target.getDevCardRemaining(), 25);
 }
Exemplo n.º 2
0
 public void TestDrawDevCard()
 {
     var target = new Bank();
     target.drawDevCard(4);
     Assert.AreEqual(21, target.getDevCardRemaining());
 }