コード例 #1
0
 public void GetTreasureCount_Should_Equal_79_When_Provided_3()
 {
     var tCalculator = new TreasureCalculator();
     var treasureCount = tCalculator.GetTreasureCount(3);
     Assert.AreEqual(79, treasureCount);
 }
コード例 #2
0
 public void GetTreasureCount_Should_Throw_Exeption_Provided_Less_Than_2()
 {
     var tCalculator = new TreasureCalculator();
     var treasureCount = tCalculator.GetTreasureCount(1);
 }
コード例 #3
0
 public void GetTreasureCount_Should_Equal_15621_When_Provided_5()
 {
     var tCalculator = new TreasureCalculator();
     var treasureCount = tCalculator.GetTreasureCount(5);
     Assert.AreEqual(15621, treasureCount);
 }