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.
Yes, I got it.
Thank you very much man
HA! that's a great question, and the answer is NOTHING: because the sample tests you showed are from some other kata, but the idea is the same. Anyway, the sample tests for this kata are:
...so your function
bmi()
is passed two parameters and you should return astr
as a result.What does this have to do with "Calculate BMI"?
test.assert_equals ()
makes a comparison of the two items passed into it[- 1, -2, -3], [-4, -5, -6]
is the given input for this testarray_plus_array()
is the function you need to write21
is the expected return value for this testWhat does this mean in the sample test?
test.assert_equals (array_plus_array ([1, 2, 3], [4, 5, 6]), 21)
test.assert_equals (array_plus_array ([- 1, -2, -3], [-4, -5, -6]), -21)
test.assert_equals (array_plus_array ([0, 0, 0], [4, 5, 6]), 15)
test.assert_equals (array_plus_array ([100, 200, 300], [400, 500, 600]), 2100)