From Dev.to
Three edge cases to test in a time-card calculator
A time-card calculator looks like simple subtraction until a shift crosses midnight or contains breaks. Here are three small tests that make a useful starting point when building one. A shift from 22:...
