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 unpublish this kata, I will think about that number 3.1405 to fix it.
I think about this but I don't know how to fix it. If I change something, example: Input will be not in double but in String, there will be a problem with those solutions, or not?
This comment is hidden because it contains spoiler information about the solution
Yes, I try this way, and fixed it.
Thank you
really? I will test it later
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
ill unpublish while i make changes, guess i was a bit hasty to release
Great find! Here I thought my solution was covering that case, but I never built any test cases around it ;)
I've added a test case to test that and will update the description to be as clear as possible. Thanks!
+1
A lot of thanks! You're definitely right.
It's my first experience with auto-tests in JS so I feel like I'm poking a finger in the sky.
In the previous Kata's version there was a return of error in
catch
block, which is obviously unnecessary.Hi Balkoth,
My mistake, I got the array for month wrong, just fixed the code and the test cases as well, sorry for that.
The day of the week is right though, it was 12th August 1926 which was a Thursday.
Actually was a Tuesday, I fear you kept the month as "8".
I already wrote the author in private about naming conventions, using a good [].join("") instead of adding up lots of strings and so on to be improved :)
I just modified the tests cases (using Test.assertEquals) and I added some random tests cases as well (with random numbers).
Could you check and if it looks good to you, mark the issue as resolved please, thx.
You are right... I didn't see that one when I checked for possible already existing kata like mine.
Loading more items...