Example #1
0
def test_valid_phone_num_3():
    input_phone_number = "012-345-6789"
    expected_output = [True, "0123456789"]
    assert validate_phone_number(input_phone_number)[0] == expected_output[0], "Test Failed!"
Example #2
0
def test_invalid_phone_num_5():
    input_phone_number = "101234567891"
    expected_output = [False, "10123456789"]
    assert validate_phone_number(input_phone_number)[0] == expected_output[0], "Test Failed!"