public void TestSetStaringHitPoints_WhereTheCalculatedHPAreNegative() { int constitution = 3; Assert.AreEqual(1, Character.GetAdditionalHitPointsForNewLevel(2, AttributeBonuses.GetConstitution_HitPointBonus(constitution)), "The hit points were not as expected"); }
public void TestGetAdditionalHitPointsForNewLevel_WhereTheCalculatedHPArePositive() { int constitution = 13; Assert.AreEqual(4, Character.GetAdditionalHitPointsForNewLevel(3, AttributeBonuses.GetConstitution_HitPointBonus(constitution)), "The hit points were not as expected"); }