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.
Not fixed as of today. Possibly reverted somehow?
Fixed, thanks
Thanks for the advice. Do these fit the bill, so to speak?
Test.assertEquals(timeConversion(9204), '09:24 am', '9204 minutes should convert to: 09:24 am');
Test.assertEquals(timeConversion(4911), '09:51 am', '4911 minutes should convert to: 09:51 am');
Test.assertEquals(timeConversion(2606), '07:26 pm', '2606 minutes should convert to: 07:26 pm');
Test.assertEquals(timeConversion(6201), '07:21 am', '6201 minutes should convert to: 07:21 am');
Test.assertEquals(timeConversion(515), '08:35 am', '515 minutes should convert to: 08:35 am');
Test.assertEquals(timeConversion(909), '03:09 pm', '909 minutes should convert to: 03:09 pm');
Test.assertEquals()
thanTest.expect()
as it aids in debugging.This comment is hidden because it contains spoiler information about the solution
Coffeescript Translation (https://www.codewars.com/kata/time-conversion-minutes-to-12-hour-clock/forks/coffeescript)
You will find the following translations:
Ruby here
Crystal here
CoffeeScrit here
Jump < 10 = 'X metres: He's crap!'
Jump > 10 && < 25 = 'X metres: He's ok!'
Jump > 10 && < 50 = 'X metres: He's flying!'
Jump > 50 = 'X metres: Gold!!'
should be
Jump <= 10 = 'X metres: He's crap!'
Jump > 10 && <= 25 = 'X metres: He's ok!'
Jump > 25 && <= 50 = 'X metres: He's flying!'
Jump > 50 = 'X metres: Gold!!'