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.
Oh ok, my bad, I understand my mistake ! Thanks for your help
There is an issue in Ruby.
Tests are :
Test.assert_equals(openOrSenior([[45, 12],[55,21],[19, -2],[104, 20]]),['Open', 'Senior', 'Open', 'Senior'])
Test.assert_equals(openOrSenior([[3, 12],[55,1],[91, -2],[54, 23]]),['Open', 'Open', 'Open', 'Open'])
Test.assert_equals(openOrSenior([[59, 12],[55,-1],[12, -2],[12, 12]]),['Senior', 'Open', 'Open', 'Open'])
Test.assert_equals(openOrSenior([[16, 23],[73,1],[56, 20],[1, -1]]),['Open', 'Open', 'Senior', 'Open'])
But for the number 3 : Test.assert_equals(openOrSenior([[59, 12],[55,-1],[12, -2],/!\issue => [12, 12]]),['Senior', 'Open', 'Open', 'Open'])
data[3][0] return 68 instead of 12
data[3][1] return 7 instead of 12