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.
You are really right. I did not know that
There are no random tests.
The more likely reason is that kata author is not well-versed on the subject and think that it's actually pretty simple. Which it's not.
Also gonna be fun when writing random tests, which there isn't any at the moment.
fixed
The arguments of
assertEquals
are in the wrong order.And it's an overloaded character that may or may not be a quote. It technically isn't a quote when it's inside a word or an abbreviation.
And not all the cases in the tests are abbreviations, possessives aren't. There are all kinds of edge cases in various languages too, for instance, plural possessives in English, so it should be specified if they are tested or not.
Define "word abbreviations".
Why is
is
andhas
only abbreviated afterhe
/she
? English does not work this way.Bad premise, bad specs, bad testing.
Not a good kata.
You should use
Test.assertEquals
instead ofTest.expect
.Changing output format doesn't change the task.
Edit: noticed filtering out the
0
's, but in that case the description is lacking; also this change is basically "add oneif
statement to your code", so it's still way too similar.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
done
done
Loading more items...