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.
Answer to myself and maybe others:
The tests do not want to compare the instances, as they (hopefully) are always different.
Take care of this early and all will be fine :)
Maybe this was the same error I'm running into:
Test.assert_equals(Vector.new(1,2,3), Vector.new([1,2,3]))
yields
#<Vector:0x0000559eb6bc3b08 @x=1, @y=2, @z=3>, instead got: #<Vector:0x0000559eb6bc3f68 @x=1, @y=2, @z=3>
in my implementation, although the initialization itselfs seems to do, what it is supposed to.
Nvm figured it out
Without knowing what you are doing it's difficult to say what you are doing wrong :)
I pass almost all the random tests but I get 14 errors. I think it all stems from the first error saying that both initializatoins should result in the same vector, what am I doing wrong? In my side IDE when I define a vector with a list, tuple, or just 3 inputs they all show the same in the IDE
nvm
I really enjoyed this kata, it helped me learn about a few interesting methods to call on a list!
However, it did take me two attempts because I at first was thinking it meant we were swapping any two indeces. If that's not a kata, maybe it could be a level 6!