public void Level1BardReturns0() { SavingThrows Fort = new SavingThrows(); int expected = 0; int actual = Fort.GetFort(1, "Bard"); Assert.AreEqual(expected, actual); }
public void Level20PaladinReturns12() { SavingThrows Fort = new SavingThrows(); int expected = 12; int actual = Fort.GetFort(20, "Paladin"); Assert.AreEqual(expected, actual); }
public void BadDataReturnsError() { SavingThrows Fort = new SavingThrows(); int expected = -999; int actual = Fort.GetFort(21, "Paladin"); Assert.AreEqual(expected, actual); }