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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
JS: Node v12 should be used along with the appropriate assertion tools (Mocha + Chai)
Java translation: Should we follow method naming conventions here?
static boolean amIAfraid(String day, int num) {
Why on earth would you have a get acessor returning an int (0) ?
Why would you have volume being set as a private setter? THis is madness, why isn't volume just a property that returns the value based on current sideLength.
This is a horrible kata, I hope no one thinks this is good practice for C#
And why methods for setter and getters?
I think this has been written by someone who does Java and knows very little C#
The user can modify the input.
Setters are not being tested. And why are these called "get-accessor" and "set-accessor"?
You shouldn't use
from
as a parameter name.The type of
X
,Y
, andZ
is not specified.I did this task on c# and passed all basic and advanced tests, but all random tests failed.
In output I've got this:
Expected: " 74"
But was: "uid 74"
And I've got the same type of error on every test.
I've tried different comnbinations of hashtags, space and "uid".
What do I do wrong?
Could you help me, please?
( JS and others )
Testing is horribly subpar. I've done some improving on the JS tests ( lots and lots of Best Practices invalidated ..! ), but other languages are just as bad.
This comment is hidden because it contains spoiler information about the solution
Could you test unsorted sequences?
https://www.codewars.com/kata/reviews/55eea63d19278d571d00006c/groups/560adcf41c73d5f6e8000097
What's the point of testing that GetY(x) returns mx+b? It's irrelevant to the solution and the flavor text says I'm a lazy programmer.
Better information in the description would be good. Having to either derive a math equation for an integral or hunt for it online should be unnecessary and slows down learning.