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've done some research that leads to me to believe this description of the mayan long calendar is wrong.
13 20 7 16 3 should be 14 0 7 16 3 and it lies on January 6 2415.
The 13 baktun started on December 21 2012
Haskell translation
Quite easy-going kata to figure out and to practice some coding challenges with, funny task.
Hi,
I've tried multiple things and am unable to replicate the issue (in Python).
print(n)
will correctly output the input in the log.n = 86: 86 should equal (1, 101)
Please open another issue with more information if you believe it is still occurring.
Nice kata.
print(n) does not work.
Unable to view inputs on "Attempt" tests.
I believe I have fixed this and added 'closeTo' assertions using expects' in-built methods.
The only errors are logical errors when the gallery width is >= 700.
They're all trivial changes to the code. I'd expect you'd be able to modify this solution for those cases.
Hey, you said that this is the solution? But "setUpGallery" isn't named correctly, the values are rounded, and the Image objects aren't returned as rows.
Can you please provide the updated code where you got the 'floating point error'.
This will prevent me from wasting time trying to recreate your solution and getting it wrong.
The solution's just the link above though...
Could you please send your solution over so I can look into it further? Post it in Discord at "help-author" if that is better.
@theunbeatableant
The last row is incorrect.
Although... that might be quite complicated to do with a 2D array of Image objects. If I were to implement fuzzy assertion, then I would appreciate any guidance you could give.
I could implement a 0.001 tolerance on either side of the expected value, that will definitely fix the errors.
However, is you solution supposed to give the correct answers? If so, I will implement that now and that should fix everything.
Well, now the floating point error happens again:
Hi Voile, massive thanks for the clear and detailed explanation.
OOP
structure changed to a JavaScript function..to.deep.equal()
instead ofJSON.stringify()
chai.config.truncateThreshold = 0
2D array
ofImage
objects.Hope this fixes any issues you raised :)
Loading more items...