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.
Please add
math.randomseed(os.time())
to generate different templates each time. Currently, the templates are the same between each attempt.Lua issues got resolved in this fork
Got approved
Oh yeah, my bad, I forgot. I'll do that next time. Thank you for your time !
Edit: Actually, when I pressTRAIN AGAIN
, theSampe Tests
are not updated and when I pressAttempt
, theit
messages are updated but I still get the error with the call of the function. Could it be because of the fork ? How can I resolve this ? When I fork on the kata page, I get the updated code.Second edit: When I reset on the training page, I get the updated code and there are no error at all. But when I leave the kata and train again, the non-updated code reappear.Seems like it updated successfully after all
Lua translation resolving this issue (only Lua part obviously).
tester
function to provide user informationTranslation resolving this issue (only Lua obviously).
tester
function to provide user informationLua andC translations lack random tests.Lua's function name is not the one used in the tests (startsWith
) throwing errors when running the tests.Expected and actual are still flipped. See docs (
busted
is the Lua testing framework on Codewars) to be sure once and for all :)Lua Fork
math.randomseed(os.time())
to generate different random tests each time we run themtester
function displaying parameters to the userxbonacci
to the function to match description and display of inputsSample Tests
init
s so they are actually testedFixed Tests
andSample Tests
to increase readabilitymath.randomseed(os.time())
to generate different random tests each time we run themtester
function displaying parameters to the userxbonacci
to the function to match description and display of inputsSample Tests
init
s so they are actually testedFixed Tests
andSample Tests
to increase readabilityLua translation ready for review !
Lua translation!
Lua translation!
Can't approve but looks good to me!
Lua translation!
Loading more items...