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.
Added description for what left and right are to assert_eq! message.
Works in Rust 1.6.6.
Assert messages now include the input (first 3 elements for long inputs).
Using super::find_uniq.
Fixed description merge conflict (as of now).
Added more descriptive names.
Using char literals in place of ascii codes for clarity.
Non-pangram branch in random test no longer has chance of randomly generating pangram so we don't need to check reference_solution.
Updated to use gen_range(1..3) as it accepts a range as of rand 0.8.0 https://docs.rs/rand/0.8.0/rand/trait.Rng.html#method.gen_range
Works on Rust 1.6.6
The lua sample tests call a function solution.gloves instead of solution.number_of_pairs, so you fail the sample tests unless you change the function name to gloves. However you need to use the function name number_of_pairs for the actual attempt. (Also Exemple test is misspelled.)
I suggest clarifying in the description that payments cannot be negative or 0. It's a valid restriction but it should be explicit in the specifications rather than only through the test cases IMO.