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.
Python new test framework should be used (Refer this for more detail)
nice :) didn't think of that, hope you don't mind that I change the tests to catch it
my solution begs to differ ;)
This comment is hidden because it contains spoiler information about the solution
this is indeed a much more challenging version of that other kata
potzko moment
hi, I would reccomand having a small edge case section in the code for (0,0), (1,1), (0,1), (-1, 0), (-1, 1) etc preferably in the sample test also
also, maybe adding some random testing would be a good idea, however make sure you genrate random ints and cast them to longs, as dealing with the edges of representable numbers was not defined.
best of luck :)
This comment is hidden because it contains spoiler information about the solution
thanks, :)
Python full tests:
basic_tests()
should be decorated with@test.describe('basic tests')
basic_tests()
should not be called explicitelyrandom_check()
andexit_check()
should beit
blocks, notdescribe
blocksC translation
the test is not effective :(
.
whoops again sry, solved
And
u32
in the sample tests as well.Loading more items...