Skip to content

Conversation

@frajasalo
Copy link
Contributor

I separated the timestring function (into support.cpp) and wrote a unit test for it. If the separation is not Ok I will find another way for testing it.

Bug described in issue #1 is fixed by you in a previous commit but a new one come out: values of 24 hours or more issues the same problem.

This will help us to test the function with unit tests.

Signed-off-by: frajasalo <github@frajasalo.de>
This unit test triggers an error which occurs if the value for the
seconds reaches 24 hours. This bug is similar issue #1 which original
described a bug with the value of 3601 seconds.

Signed-off-by: frajasalo <github@frajasalo.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant