def test_ba_validation_big_size_number(): """Test if an invalid number, with wrong size, is really invalid""" invalid_number = '0030964575' assert ba.start(invalid_number) == False
def test_ba_validation_right_size_valid_number_9_digits_and_second_digit_equal_6_7_9(): """Test if a valid number is really valid with 9 digits""" valid_number = '162345651' assert ba.start(valid_number) == True
def test_ba_validation_small_size_number(): """Test if an invalid number, with wrong size, is really invalid""" invalid_number = '0172030' assert ba.start(invalid_number) == False
def test_ba_validation_right_size_valid_number_8_digits_and_second_digit_different_6_7_9(): """Test if a valid number is really valid with 8 digits""" valid_number = '74694200' assert ba.start(valid_number) == True
def test_ba_validation_right_size_invalid_number_9_digits_and_second_digit_equal_6_7_9(): """Test if an invalid number is really invalid with 9 digits""" invalid_number = '162345652' assert ba.start(invalid_number) == False
def test_ba_validation_big_size_number(): """Test if an invalid number, with wrong size, is really invalid""" invalid_number = '0030964575' assert ba.start(invalid_number) is False
def test_ba_validation_right_size_invalid_number_8_digits_and_second_digit_different_6_7_9(): """Test if an invalid number is really invalid with 8 digits""" invalid_number = '12345665' assert ba.start(invalid_number) == False
def test_ba_validation_small_size_number(): """Test if an invalid number, with wrong size, is really invalid""" invalid_number = '0172030' assert ba.start(invalid_number) is False
def test_ba_validation_right_size_valid_number_9_digits_and_second_digit_equal_6_7_9(): """Test if a valid number is really valid with 9 digits""" valid_number = '162345651' assert ba.start(valid_number) is True
def test_ba_validation_right_size_invalid_number_9_digits_and_second_digit_equal_6_7_9(): """Test if an invalid number is really invalid with 9 digits""" invalid_number = '162345652' assert ba.start(invalid_number) is False
def test_ba_validation_right_size_valid_number_8_digits_and_second_digit_different_6_7_9(): """Test if a valid number is really valid with 8 digits""" valid_number = '74694200' assert ba.start(valid_number) is True
def test_ba_validation_right_size_invalid_number_8_digits_and_second_digit_different_6_7_9(): """Test if an invalid number is really invalid with 8 digits""" invalid_number = '12345665' assert ba.start(invalid_number) is False