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.
Changed tests in Python and Ruby.
Ditto for Python description.
Same for the Java description - please rectify this in addition to fixing the test cases noted elsewhere in the comments.
This comment is hidden because it contains spoiler information about the solution
241 people solved this kata in Go, so I think there is no issue.
Please check your code. And next time, do not create an issue, if you are not sure for the reason for the failing test.
Fixed
Hell yeah, solution like this is wrong:
check_ages?([{:age=>40, :sex=>:m}, {:age=>19, :sex=>:m}], :m, 20)
will returntrue
insteadfalse
That's why I got it wrong, it needs ALL matched sex to have a superior number!
The task says returns true if all of the items matching the sex value have ages greater than the value provided.
I think the solution in question passes this.