There is a bug in ClockTimer.tick()
When timer reaches zero there is a double tick down instead of single one. This will cause the timer to go down to 23:59:59 instead of to 0:0:0.
Write a regression unit test to detect this bug (and to avoid that it might reappear in the future), and modify the code to fix this bug.
There is a bug in ClockTimer.tick()
When timer reaches zero there is a double tick down instead of single one. This will cause the timer to go down to 23:59:59 instead of to 0:0:0.
Write a regression unit test to detect this bug (and to avoid that it might reappear in the future), and modify the code to fix this bug.