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.
JavaScript Fork
JavaScript
Approved
python new test framework is required. updated in this fork
It doesn't have sample tests, so you need to use the "Attempt" button.
It is just throwing "should test for something" and I don't understand what tests and what I have to write here. I think there is some error or something.
why is it showing 'should test for something'? description says 'Optionally, also write tests similar to the examples below.' should I also write tests?
I'm sorry, B1ts, but you're wrong. The initial solution template for C# did indeed have
Predicate<int>
instead ofFunc<int, int>
It is entirely possible to publish a Kata with a faulty template. I have fixed it.If your solution does not work, you should remove comments of tests for successful checking...
If the question was faulty, it wouldn't be published. It's a mistake in your code, I'm afraid.
I get this error:
tests/Fixture.cs(21,85): error CS1503: Argument 2: cannot convert from 'System.Func<int, int>' to 'System.Predicate'
Is it the question thats faulty right?
nice n ez
Predicate is a delegate which result is a boolean value. "public static int[] ProcessArray(int[] arr, ??? callback)" would be much easier option to solve this kata in c# - in my opinion of course ;p
This comment is hidden because it contains spoiler information about the solution
The sample tests for this kata do not exist.
Loading more items...