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.
I think our solutions might be failed with 128+128 as inputs but they only allow 32-126, so that is not a problem.
This comment is hidden because it contains spoiler information about the solution
ha!
+1
You're welcome!
Keep the
"[code golf]"
in the title?"Co Co Code Golf" !? :D
Alright its now named La La Land.
Thanks for that
Just call it "La La Land"?
Alright @JohanWiltink.
Will remove
describe
header.switch to
assert.isAtMost
as well (thanks for that)OK, that's fixed.
In JavaScript, it's not necessary to wrap the tests in an IIFE.
You can also leave out the
describe
-headers if you want. Not theit
-headers, those are mandatory. Thedescribe
-headers do not add anything in this case.In general, please, write the most readable code you can for tests. Translators, or people who have to make upgrades because some day,
Node 12.x
will be retired, will thank you.You could use
assert.isAtMost
for the code length check. The default failure message will already make sense.Alright there we go. the kata has been fixed. you may try it out
And kindly if u downvoted do upvote (thnx)
.
Thanks a bunch hobovsky
There's a guide in the Wiki. It's linked from the bloody front page. Hey - it's your kata - you have a certain responsibility to know what you're doing you know?
This was not a Suggestion. And please do not close Issues unless they're resolved.
Node 8.x
used a different location. From memory: I think it's/workspace/solution.txt
forNode 12.x
. Have a look at existing kata.Please enable and set as default Node v12.x. ( That also means using
chai
instead ofTest
. ) There is no reason to create new kata with obsolescent versions.Loading more items...