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.
In the C# version of this kata, one of the hidden test cases (TestException) appears to access Current after MoveNext() has returned false. According to .NET conventions, this should result in an InvalidOperationException, but the kata description does not mention this requirement.
This behavior is easy to overlook, especially since most other test cases pass without issue. It would be helpful if the kata description explicitly stated that:
Accessing Current after MoveNext() returns false must throw an exception.
Adding this note would make the expectations clearer and help prevent confusion for users implementing a valid IEnumerator in C#.
Python, probably others:
Python new test framework required
the preloaded section emits warnings to STDERR:
Note: src/main/java/ClassHelper.java uses unchecked or unsafe operations.This seems to be caused by this line:
ForwardingJavaFileManageris a generic class:so the subclass
SpecialFileManageris a raw type, hence the warnings. It should either be parameterized itself, or should extend a parameterized version ofForwardingJavaFileManager.Ruby version kumited, please check and comment or approve.
Missing random tests in Java.
Missing random tests in C#.
This comment is hidden because it contains spoiler information about the solution
typo in the 'Instruction set' section:
Instructions for same ...should be:
Instructions for Sam ...TypeScript translation pending, feel free to leave feedback (if there is anything I can do better) or approve if you think it's ready.
I understand almost nothing from the description of this Kata and the examples given just can't make up for the 75% missing explanation. Can someone please explain me what I even have to do for this Kata?
This is not true for Python. IMO, this requirement should be removed from other languages if it's actually present there.
"Connecting linked lists" does not feel quite right. To me, that sounds like solver has to connect two linked lists.
Would you consider "Find shared node in linked lists" or something like that?
Python version is broken.
Cases:
'snakecase' should equal 'snake_case'
'urlrouter' should equal 'url_router'
'impl0test' should equal 'impl0_test'
'copyonwritearraylist' should equal 'copy_on_write_array_list'
'impl0test1inst0' should equal 'impl0_test1_inst0'
How is it possible to implement an algorithm for these?
In addition to that, these tests are not specified in the specs.
The error output string should be changed. I was recieving a lot of these types of errors when submitting tokens with integer (rather than the expected string) values:
This made it much more difficult to debug than it needed to be for what I think are obvious reasons.
Cheers
Loading more items...