public void OneTimeSetUp() { personCitizen = PersonFactory.GenerateCitizen(); personMedicalStaff = PersonFactory.GenerateMedicalStaff(); personMilitary = PersonFactory.GenerateMilitary(); personFirstResponder = PersonFactory.GenerateFirstResponder(); }
public void ProtectionTest() { Assert.AreEqual(person.Prevention, 0); Assert.GreaterOrEqual(PersonFactory.GenerateMedicalStaff().Protection, 97.70); Assert.GreaterOrEqual(PersonFactory.GenerateMilitary().Protection, 88.79); Assert.GreaterOrEqual(PersonFactory.GenerateFirstResponder().Protection, 97.70); }