Example #1
0
 def test_validate_disease_trigger_must_be_greater_than_0_with_value_of_1(
         self):
     validation = ModelRunOptionsValidation(1, 100)
     self.assertEqual(None, validation.validate_disease_trigger(1))
Example #2
0
 def test_validate_disease_trigger_must_be_greater_than_0_with_value_of_0(
         self):
     validation = ModelRunOptionsValidation(1, 100)
     self.assertEqual("Must be greater than 0",
                      validation.validate_disease_trigger(0))