示例#1
0
 public void OneTimeSetUp()
 {
     personCitizen        = PersonFactory.GenerateCitizen();
     personMedicalStaff   = PersonFactory.GenerateMedicalStaff();
     personMilitary       = PersonFactory.GenerateMilitary();
     personFirstResponder = PersonFactory.GenerateFirstResponder();
 }
示例#2
0
 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);
 }