def test_validate_starting_adults_must_be_0_or_greater_with_value_of_1( self): validation = ModelRunOptionsValidation(1, 100) self.assertEqual(None, validation.validate_starting_adults(1))
def test_validate_starting_adults_must_be_0_or_greater_with_value_of_minus_1( self): validation = ModelRunOptionsValidation(1, 100) self.assertEqual("Must be 0 or greater", validation.validate_starting_adults(-1))