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.
Sounds good, changes have been made for Python to support this.
Ah I agree. I'm not familiar with Rust or Haskell to know integers were different from bools.
If someone could make those changes that'd be sweet.
@Chrono79 Also, aren't integers truthy/falsey in Python so it should be fine?
Good catch! This has been fixed in the test cases!
I admit that I am not very familiar with Rust, but my intuition tells me that the random test cases do not sufficiently test for False as most of the random numbers generated will have 1 odd bit. Let me know if I'm wrong! (Otherwise, make sure to generate random tests for the case of False :) )
For this, you only need to check the lower 32 bits. So you'd be checking if a 1 exists in any odd position of 00000000000000000000000000010000, which is technically the same as checking if a 1 exists in an odd position in 10000 and in 00010000. We are checking odd position from the right. Let me know if this answers your question!
Theres nothing wrong with it, its really good! But for some reason, when I click "Approve", followed by "I'm sure" when it asks for confirmation to merge, nothing seems to happen. The confirmation prompt just goes away. I am not sure how else to accept the translation.
It just means you only need to check the lower 32 bits.
Good catch, change has been made. Thank you!
When can this Kata move on to the approval process?
Please mark as issue resolved if everything looks fine and dandy! :)
Translations are welcome!
This comment is hidden because it contains spoiler information about the solution
cr_expect has been changed to cr_assert_eq() with failure messages
srand has been added. Thanks
Random tests cases that test for False have been added!
Loading more items...