In C# version:
Thats not a valid time!
But was: <System.ArgumentException: Invalid time>
If tests expect instance of exactly System.Exception to be thrown (and that's bad, BTW), it should be mentioned in the description.
Wasn't in the brief, wasn't in the tests so people didn't accomodate
just use the spoiler flag?
This comment is hidden because it contains spoiler information about the solution
Check ASI http://2ality.com/2011/05/semicolon-insertion.html
No, it works for both positive and negative integers. Just tested it, (-9, 1) returns "-1000".
Yeah, it only works for positive integers
i dont think so, since its a kyu 7 problem
Using hours, minutes, and seconds to correspond to R, G, and B -- as I assume you intended -- it would be cool to see how this clock's colours change over the course of the day. It would be easy to code, too! I suppose they'd be rather dark colours, given the constraints for valid h/m/s values. But dark colours are good for a clock background. Maybe I'll go try that...
Ruby translation, please check and approve :-)
A comment should not be marked as an Issue unless it is confirmed that the problem being described is due to the Kata itself.