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.
UPDATED GROOVY TRANSLATION
Changes:
org.junit.jupiter.api.Assertions.assertTrue
instead of Groovy's built-inassert
ororg.junit.jupiter.api.Assertions.assertEquals
becauseassertEquals
is weird when comparing ArrayListsGroovy Translation
Go translation
the tests suite should use approximate equality in:
other languages are OK
in JavaScript: test doesn't check if is formatted to two decimal places, despite it stating the requirement in the description.
I can definitely sympathize with those that are frustrated with this kata. And there are no examples on the initial page. If I didnt have a fairly strong math background (math was a hobby of mine at one time) Im sure I would be in the same boat. In order to look things up, you need to know how to pose/phrase the question. Without that background knowledge your googled question is like a shot in the dark - youll be lucky to get what youre looking for. On the other hand, many katas are based on inside knowledge, and giving out this inside knowledge can turn a 6 kyu kata into an 8 kyu kata. btw can i upload an image like the one used in this kata, or do I have to give an address for it? Anyway, not a bad kata if one has some math background.
Javascript.
Simple solutions applicable to final random tests not suitable for sample tests.
Specifically a test with arguments: "eat a burger and drink a coke", "drink a coke".
This has been done before; there's a whole "perform addition/subtraction/multiplication/division without using the operator for that" kata series available in JavaScript.
Ruby 3.0 should be enabled.
C++ translation kumited
I'd make it clear that A is an arc, not a line. Specifically, you should say that A is a circular arc, and that its endpoints coincide with the vertices of the square. Otherwise the problem isn't well-defined.