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.
Hi. Could you please give me an example of similar Kata?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Do you have a particular existing (Scala) Kata in mind?
In sample test 2 assertions
In final test 5
Indeed! I just wanted to make a very simple one in order to experience Kata creation
Sorry, my mistake
I've done some corrections, could you please try again ?
Maybe, there is some inspiration to find here:
https://www.codewars.com/kata/53d40c1e2f13e331fc000c26
https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-11.html#%_sec_1.2.4
SCALA VERSION got this error when attempting to push my solution:
fixture.scala:33: warning: method + in class Int is deprecated (since 2.13.0): Adding a number and a String is deprecated. Use the string interpolation
s"$num$str"
FabergeTest.test(random.nextInt(20000) + "", random.nextInt(20000) + "")
^
fixture.scala:33: warning: method + in class Int is deprecated (since 2.13.0): Adding a number and a String is deprecated. Use the string interpolation
s"$num$str"
FabergeTest.test(random.nextInt(20000) + "", random.nextInt(20000) + "")