def test_mobile_with_wrong_start_var_two(self): self.assertFalse(Donor.is_valid_mobile_number('+37201234567'))
def test_id_number_with_valid_string(self): self.assertTrue(Donor.is_valid_id_number('123456ab'))
def test_id_number_with_empty_string(self): self.assertFalse(Donor.is_valid_id_number(''))
def test_name_with_string_and_number(self): self.assertFalse(Donor.is_valid_name('david0'))
def test_sickness_with_empty_string(self): self.assertFalse(Donor.is_valid_sickness(''))
def test_donation_date_with_empty_string(self): self.assertTrue(Donor.is_valid_donation_date(''))
def test_donation_date_with_wrong_date(self): self.assertFalse(Donor.is_valid_donation_date('2030.30.30'))
def test_weight_with_zero(self): self.assertFalse(Donor.is_valid_weight('0'))
def test_weight_with_letters(self): self.assertFalse(Donor.is_valid_weight('abc'))
def test_mobile_contains_one_letter_var_two(self): self.assertFalse(Donor.is_valid_mobile_number('+3620I234567'))
def test_weight_with_valid_string(self): self.assertTrue(Donor.is_valid_weight('50'))
def test_name_with_two_characters(self): self.assertTrue(Donor.is_valid_name('da'))
def test_mobile_with_long_len_var_two(self): self.assertFalse(Donor.is_valid_mobile_number('062012345678'))
def test_mobile_with_spaces(self): self.assertFalse(Donor.is_valid_mobile_number(' '))
def test_date_with_empty_string(self): self.assertFalse(Donor.is_valid_date(''))
def test_weight_with_empty_string(self): self.assertFalse(Donor.is_valid_weight(''))
def test_donation_date_with_valid_string(self): self.assertTrue(Donor.is_valid_donation_date('2000.01.01'))
def test_gender_with_valid_string_upper(self): self.assertTrue(Donor.is_valid_gender('F'))
def test_donation_date_with_letters(self): self.assertFalse(Donor.is_valid_donation_date('bbbb.bb.bb'))
def test_gender_with_number(self): self.assertFalse(Donor.is_valid_gender('1'))
def test_donation_date_with_hyphens(self): self.assertFalse(Donor.is_valid_donation_date('2030-02-06'))
def test_name_with_valid_string(self): self.assertTrue(Donor.is_valid_name('david'))
def test_sickness_with_valid_string_upper(self): self.assertTrue(Donor.is_valid_sickness('N'))
def test_date_with_wrong_date(self): self.assertFalse(Donor.is_valid_date('2010.31.01'))
def test_sickness_with_number(self): self.assertFalse(Donor.is_valid_sickness('2'))
def test_date_with_letters(self): self.assertFalse(Donor.is_valid_date('aaaa.aa.aa'))
def test_passport_number_with_valid_string(self): self.assertTrue(Donor.is_valid_id_number('ab123456'))
def test_date_with_hyphens(self): self.assertFalse(Donor.is_valid_date('2015-06-03'))
def test_id_number_with_one_character(self): self.assertFalse(Donor.is_valid_id_number('a'))
def test_mobile_with_36_start_pi_70(self): self.assertTrue(Donor.is_valid_mobile_number('+36701234567'))