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.
Floating point error in random tests:
The meaning of the input is not explained. What does
5p -40
and-5p +200
mean?Hi, thanks for you Kata.
Could clarify,
how to compute inflation rate ?
CPIs endDate - CPIs startDate ?
How does 38.85 appear in your solution?
Thanks
This is not a valid solution at all. Just execute domainName('http://mysitewww.com'). Using this solution, you will get 'mysitecom' which is absolutely incorrect. My domain is 'mysitewww'. Where is the downvote button?
This comment is hidden because it contains spoiler information about the solution
It's not explained how inflation rate is calculated.
The user can modify the input.
No fixed tests.
Node 12 should be enabled and
chai
should be used instead of the old test framework.Sample tests are still using
Test.expect
.Info added to description.
Fixed~~
Sample test indicates that return value should be a string but actual tests expect number.
Approved.
Comparing floating point values rounded is rather inferior to comparing them approximately, but letting that slide; it's too late to change that now.
Loading more items...