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.
Nice, thanks
I made some changes, would you please review? Thanks
This part -->
draw_street([(5, 9), (7, 13)])
should be replaced with something more generic in terms of input --> output since thefunctionmethod name for C# isDrawStreet
.Hello there, any suggestion as to what I should change it to? It would be very helpful to me :) Thanks
Description should be language-agnostic, i.e, removal of function names (with C# translation approved ^^)
Thank you!
Error message on type test
You function mast return list of function objects.
should be
Your function must...
I'm fine If the tests only requires
[0]
and[1]
to be possible (or some specific destructuring requirements). But currently it explicitly requires a list to be returned.that is because our mind reads what it wants to read, not what is written
Thank you for the comment. For my response I'd like to clarify that I'd like to learn and understand the norms and best practices. So, I understand what you are saying. However, I responded earlier to the issue raised by hobovsky below. They suggested that "returns a pair of integers" is ambiguous and so I changed the problem specification to "list of length 2 of integers", and added tests to test that. It seems to me now that you are suggesting that I should revert back to the previous ambiguous specifiation and only test for deconstructability into two components. I would highly appreciare further input here as to what is a better solution between these two apparently confilicting suggestions. Thanks in advance.
Thank you very much. I can't believe I missed that typo for so long.
Description typo: "a linear equation in two unknowns is any equation of the form ax+bx=c". I believe it should be ax+by=c.
Somebody approved :)
Hi, I changed my leap year check according to the linked kata. Please review :)
Hi, I added a fixed test case with 29/2/4. I also added random tests that generate the date 29/2 in some leap year.
Please review :)
Loading more items...