Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Oh well retired~~~~
No random tests so https://www.codewars.com/kata/reviews/5cb4f8810839f30001061fc8/groups/5f9d1f0e8311fc00017c1dd5 can pass easily~~
It's strange for me to understand if 12:00 is a current day as an alart day of it's another day. To avoid this you should add some parameters of days or change time to UTC with data, to avoid missunderstanding, I guess. But you kata is interesting, please create it more correct.
I think for avoiding misundestanding you should clarify this moments, thank you :)
I will tighten up the description. It currently expects this to count as zero time available.
Fixed :)
I might add random tests in the future.
The ("00:00", "7:45") sample test does no respect the rule that you wrote in the description:
Additionally, you should have random tests.
The "12:00" against "12:00" test is ambiguous: should they want to be awaking now, or should they have 24 hours ahead?
In the sample tests too. And there's no need in
deepEqual
here, justequal
.Done! :)
Please retry
This comment is hidden because it contains spoiler information about the solution
Oh! I was only looking at the number of
Failed
s. :OAt least because they do nothing in case of success, so there will always be 0 passed tests.
Actually, why? Honest question; it looks like it works just fine.
OK, I'll look up how to do this.
Loading more items...