Skip to content

Conversation

@BonsenW
Copy link

@BonsenW BonsenW commented Dec 1, 2025

No description provided.

…sic tests. Currently, there are some tests failing and some code that isn't fully covered
…test driven development. The logic remained the same, but the code is cleaner, the map was extended to include all required time formats, and additional conditionals were used to fix remaining bugs. The tests cover all cases now.
@BonsenW BonsenW changed the title PR: Merging bonsens attempt to the question to master PR: Bonsen W's attempt to the convertTimeToWord function Dec 1, 2025
@BonsenW BonsenW changed the title PR: Bonsen W's attempt to the convertTimeToWord function Bonsen W's attempt to the convertTimeToWord function Dec 1, 2025
@BonsenW
Copy link
Author

BonsenW commented Dec 1, 2025

There could be more tests for unkown formats and error handling, but i kept it simple for now.

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