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.
Yup, currently this kata submission isn't working.
It may be worth putting the logic into a method - i.e. so that it is clear what needs to be returned.
look at the basic operator types, if you did what I did you probably have type issues instead of rounding issues. i.e. look at integer division instead of the division operator that returns a float.
Add a test case for a single character string i.e. "s",
Your random tests occaisonally have this scenario, however I found it was possible to submit an "incorrect" solution that passed unless the random test had this state.
Make sense?
I get the following whenever I try run tests for this kata for JavaScript
500: Internal Server Error
Description: TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
at fromObject (buffer.js:287:9)
at Function.Buffer.from (buffer.js:133:10)
at new Buffer (buffer.js:112:17)
at Object.module.exports.decrypt (/server/lib/cipher.js:8:18)
at transformBody (/server/lib/routes/run.js:41:32)
at module.exports (/server/lib/routes/run.js:14:15)
at Layer.handle [as handle_request] (/server/node_modules/express/lib/router/layer.js:95:5)
at next (/server/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/server/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/server/node_modules/express/lib/router/layer.js:95:5)
at /server/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/server/node_modules/express/lib/router/index.js:330:12)
at next (/server/node_modules/express/lib/router/index.js:271:10)
at serveStatic (/server/node_modules/serve-static/index.js:75:16)
at Layer.handle [as handle_request] (/server/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/server/node_modules/express/lib/router/index.js:312:13)
This error was caused due to an issue processing the web request, not because of an issue executing your code.
In the description my interpretation is it should ignore caps but with the JavaScript tests it doesn't seem to have test cases for this?
There seems to be a spelling mistake
nember should be number.
Description is not 100% accurate, it should say if days are greater than 2 and less or equal to three then ripe.
Slight typo in your description. See the word in CAPS
"Your task is to capitalize VERY word that has..."
Should be
"Your task is to capitalize EVERY word that has..."
Can we add test cases for this?
No specific reason, I find it a useful shorthand. I'm prefering it more and more...
Hi, I really like the challenge of this kata.
One suggestion is that in the problem description to describe what happens if a car that is in the queue is being blocked by a car in front of it that is still waiting to leave.
There is a spelling/typo mistake in your problem outline...
Create 10x10 array and randomly WILL each cell with
I'm assuming WILL should be FILL
It looks like your random tests in the C# instance are broken.
For instance with an input of WWESWS, I expected SSWW but the test says it is expecting S
In the C# instance, your test cases should be CollectionAsserts, not Asserts.
Loading more items...