-
-
Notifications
You must be signed in to change notification settings - Fork 396
Exhaustively test and fix formatAs12HourClock #1620
Copy link
Copy link
Open
Labels
Submit:PR🏕 Priority MandatoryThis work is expectedThis work is expected🐇 Size SmallAround an hourAround an hour📅 Sprint 1Assigned during Sprint 1 of this moduleAssigned during Sprint 1 of this module
Description
Activity
Metadata
Metadata
Assignees
Labels
Submit:PR🏕 Priority MandatoryThis work is expectedThis work is expected🐇 Size SmallAround an hourAround an hour📅 Sprint 1Assigned during Sprint 1 of this moduleAssigned during Sprint 1 of this module
Type
Projects
- StatusShow more project fields📋 Backlog
https://github.com/CodeYourFuture/Module-Structuring-and-Testing-Data/tree/main/format-clock-edge-cases
In the prep, we looked at a
formatAs12HourClockfunction, and we fixed some bugs in it.It still has bugs. Think of as many edge-cases as you can with this code. Write tests for all of them, and fix this code so that it works correctly for all valid inputs. You don't need to worry about invalid inputs (e.g.
"25:00").