public void Test_GetRaceAbilityModifier_ByID_BadResult() { int RaceID = 0; RaceAbilityModifier objRaceAbilityModifier = new RaceAbilityModifier(); objRaceAbilityModifier.GetRaceAbilityModifier(RaceID); Assert.IsTrue(objRaceAbilityModifier.RaceID == 0 && objRaceAbilityModifier.AbilityID == 0 && objRaceAbilityModifier.ModifierID == 0); }
public void Test_GetRaceAbilityModifier_ByID_GoodResult() { int RaceID = 2; RaceAbilityModifier objRaceAbilityModifier = new RaceAbilityModifier(); objRaceAbilityModifier.GetRaceAbilityModifier(RaceID); Assert.AreEqual(RaceID, objRaceAbilityModifier.RaceID); }