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.
I think it depeds on the language. In C# it's fairly straightforward.
Unfortunatly the .ToString (incorrect or otherwise) isn't even included in the C# version.
So the description says "The code gives an error!
Kata.A = 123.ToSTring();
Fix it!"
However, the code "Kata.A = 123.ToSTring();" is not present in the Kata. Instead one can simply add a property that returns the value to pass the kata.
That seems contrary to what the kata wants the programmer to achieve.
Maybe more test cases are required? And maybe the code originally supplied needs modification?
I completed this in C#.
Or, since the standard in C# is to capitalise method names:
ConvertToMilliseconds :)
I was wondering that myself, it seems like it isn't ranked properly if that's the case.
The kata is based on a trick more so then actual programming, which seems to defeat the point of a code kata.
Sorry, a little OCD thing of mine. In C# the standard is for methods to be capitalised. So greet() should instead be Greet().
Thank you.