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.
This comment is hidden because it contains spoiler information about the solution
There are no need to round
offset
s since it only involved in the calculation not being results and increasing the deviationAnd you cannot make sure that someone calculate in this way
Which is different with
Though this is not suitable for
[,,1]: [0.333, 0.667, 1]
in the desc, but you cannot make sure that deviation wouldnt make different by roundingoffset
sIt's very annoying in the random test and no one can figure out what are different easily.
Just do
result.should.deep.equal(solve)
is enoughHow could you calculated different results for equally divided props?
Fixed tests pass whenever an object is returned.