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.
The old //, never fail.
Bravo! Also, you declare a variable in Elixir much like in other languages, something = "whatever", except as you've noticed sometimes declaring a variable is very optional, and also there is a caveat: the = is also a pattern-matching operation, more akin to a mathematical = sign, which can be very fun to use, or very ""fun"" if you don't know what you're doing. e.g.
x = 1
1 = x # true
2 = x # false
Note that if we want to pattern-match two variables, we will have to use ^ on the left-hand side to "pin" it or it will be rebound to the right-hand side.
Test.assertEquals should be used in the sample test cases as well, please, not just the solution evaluation.