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.
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 informationstartsWith
) 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!
Added. Thanks!
Lua translation!
Please add
math.randomseed(os.time())
. ATMRandom Tests
are the same each time I run the tests.In Lua,
expected
andactual
are swapped.assert.are.same(solution.count(a), k89(a))
should beassert.are.same(k89(a), solution.count(a))
.Lua translation!
Loading more items...