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.
The task is irrelevant to the tests. In fact, bloom filter isn't even necessary since the kata only asks for a lossy map, and doesn't test the specifics of a bloom filter.
This comment is hidden because it contains spoiler information about the solution
When the tests "hash_function_control", "register_and_check", "approximate_error_rate", and "overload" succeed, no assertion function (
cr_something
) are being called. That's why these red triangle appear in the test results. If you want the usual regular green test results for correct solution, you should call at least one assertion function in each test.BTW: If you want a literal
%
in a format string, use%%
.There're so many parsing problems I doubt creating more trivial ones would benefit anybody.
just one test? Is it serious?