Esempio n. 1
0
 public void Level1BardReturns2Reflex()
 {
     SavingThrows reflex = new SavingThrows();
     int expected = 2;
     int actual = reflex.GetReflex(1, "Bard");
     Assert.AreEqual(expected, actual);
 }
Esempio n. 2
0
 public void BadDataReturnsErrorReflex()
 {
     SavingThrows reflex = new SavingThrows();
     int expected = -999;
     int actual = reflex.GetReflex(21, "Paladin");
     Assert.AreEqual(expected, actual);
 }
Esempio n. 3
0
 public void Level20PaladinReturns6Reflex()
 {
     SavingThrows reflex = new SavingThrows();
     int expected = 6;
     int actual = reflex.GetReflex(20, "Paladin");
     Assert.AreEqual(expected, actual);
 }