def test_argument_matching(val, arg_info, expected): assert validate_argument(arg_info, val) is expected
def test_function_argument_validation(_type, value, expected): actual = validate_argument(_type, value) assert actual == expected