Closed
Description
According to the problem description of "Phone Numbers", the format of a phone number is usually represented as
NXX NXX-XXXX
where N is any digit from 2 through 9 and X is any digit from 0 through 9 (when no country code is present). The following tests seem to ignore this rule:
- cleans-numbers-with-dots-test
- valid-when-11-digits-and-first-is-1-test
- area-code-test
- pprint-test
- pprint-full-us-phone-number-test
If the area-code and pprint functions are purely for formatting a phone number in particular ways, the last three tests in the list are OK. But what these functions are supposed to do need to be described in some way (e.g., adding docstrings to these functions templates).
Do you think that I should prepare PR for this? If so, please let me know what the area-code and pprint functions are supposed to do.
Metadata
Metadata
Assignees
Labels
No labels