def test_verify_card_number5(self): ''' Test to verify the card number is valid or not. Valid card5 ''' answer = CreditCardValidator.verify_card_number(30216345253401) self.assertEqual(answer, True)
def test_verify_card_number29(self): ''' Test to verify the card number is valid or not. Invalid card29 ''' answer = CreditCardValidator.verify_card_number(5170757764785759) self.assertEqual(answer, False)
def test_verify_card_number30(self): ''' Test to verify the card number is valid or not. Invalid card30 ''' answer = CreditCardValidator.verify_card_number(6762620696606018) self.assertEqual(answer, False)
def test_verify_card_number25(self): ''' Test to verify the card number is valid or not. Valid card25 ''' answer = CreditCardValidator.verify_card_number(6762620696606011) self.assertEqual(answer, True)
def test_verify_card_number27(self): ''' Test to verify the card number is valid or not. Invalid card27 ''' answer = CreditCardValidator.verify_card_number(6011399823450522027) self.assertEqual(answer, False)
def test_verify_card_number21(self): ''' Test to verify the card number is valid or not. Valid card21 ''' answer = CreditCardValidator.verify_card_number(5458399083406092) self.assertEqual(answer, True)
def test_verify_card_number23(self): ''' Test to verify the card number is valid or not. Valid card23 ''' answer = CreditCardValidator.verify_card_number(6304052223157604) self.assertEqual(answer, True)
def test_verify_card_number10(self): ''' Test to verify the card number is valid or not. Valid card10 ''' answer = CreditCardValidator.verify_card_number(5167273744688590) self.assertEqual(answer, True)
def test_verify_card_number11(self): ''' Test to verify the card number is valid or not. Valid card11 ''' answer = CreditCardValidator.verify_card_number(3534311313874547) self.assertEqual(answer, True)
def test_verify_card_number9(self): ''' Test to verify the card number is valid or not. Valid card9 ''' answer = CreditCardValidator.verify_card_number(5170757764785752) self.assertEqual(answer, True)
def test_check_start_invalid6a(self): ''' Test with correct start digit 305 for a card number ''' answer = CreditCardValidator.check_starting_number(30501234567890) self.assertEqual(answer, True)
def test_verify_card_number8(self): ''' Test to verify the card number is valid or not. Valid card8 ''' answer = CreditCardValidator.verify_card_number(4913822983158002) self.assertEqual(answer, True)
def test_verify_card_number7(self): ''' Test to verify the card number is valid or not. Valid card7 ''' answer = CreditCardValidator.verify_card_number(4026517698321903) self.assertEqual(answer, True)
def test_verify_card_number6(self): ''' Test to verify the card number is valid or not. Valid card6 ''' answer = CreditCardValidator.verify_card_number(30532492899568) self.assertEqual(answer, True)
def test_verify_card_number19(self): ''' Test to verify the card number is valid or not. Valid card19 ''' answer = CreditCardValidator.verify_card_number(342792523706702) self.assertEqual(answer, True)
def test_verify_card_number12(self): ''' Test to verify the card number is valid or not. Valid card12 ''' answer = CreditCardValidator.verify_card_number(3529444897603680) self.assertEqual(answer, True)
def test_verify_card_number20(self): ''' Test to verify the card number is valid or not. Valid card20 ''' answer = CreditCardValidator.verify_card_number(345219998334155) self.assertEqual(answer, True)
def test_verify_card_number13(self): ''' Test to verify the card number is valid or not. Valid card13 ''' answer = CreditCardValidator.verify_card_number(3545796039213407072) self.assertEqual(answer, True)
def test_verify_card_number22(self): ''' Test to verify the card number is valid or not. Valid card22 ''' answer = CreditCardValidator.verify_card_number(5584388993242082) self.assertEqual(answer, True)
def test_verify_card_number14(self): ''' Test to verify the card number is valid or not. Valid card14 ''' answer = CreditCardValidator.verify_card_number(36667431728389) self.assertEqual(answer, True)
def test_verify_card_number24(self): ''' Test to verify the card number is valid or not. Valid card24 ''' answer = CreditCardValidator.verify_card_number(5018077162411125) self.assertEqual(answer, True)
def test_verify_card_number15(self): ''' Test to verify the card number is valid or not. Valid card15 ''' answer = CreditCardValidator.verify_card_number(36125108110142) self.assertEqual(answer, True)
def test_verify_card_number26(self): ''' Test to verify the card number is valid or not. Invalid card26 ''' answer = CreditCardValidator.verify_card_number(4539173530495786) self.assertEqual(answer, False)
def test_verify_card_number16(self): ''' Test to verify the card number is valid or not. Valid card16 ''' answer = CreditCardValidator.verify_card_number(6374785590638277) self.assertEqual(answer, True)
def test_verify_card_number28(self): ''' Test to verify the card number is valid or not. Invalid card28 ''' answer = CreditCardValidator.verify_card_number(30532492899560) self.assertEqual(answer, False)
def test_verify_card_number17(self): ''' Test to verify the card number is valid or not. Valid card17 ''' answer = CreditCardValidator.verify_card_number(6398517428154074) self.assertEqual(answer, True)
def test_check_start_invalid6c(self): ''' Test with incorrect start digit 305 but with invalid length for a card number ''' answer = CreditCardValidator.check_starting_number(305012345678901) self.assertEqual(answer, False)
def test_verify_card_number18(self): ''' Test to verify the card number is valid or not. Valid card18 ''' answer = CreditCardValidator.verify_card_number(371378385752994) self.assertEqual(answer, True)
def test_check_start_invalid10(self): ''' Test with incorrect start digit 389 for a card number ''' answer = CreditCardValidator.check_starting_number(389) self.assertEqual(answer, False)
def test_verify_card_number4(self): ''' Test to verify the card number is valid or not. Valid card4 ''' answer = CreditCardValidator.verify_card_number(6011399823450522029) self.assertEqual(answer, True)