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.
I just would add parentheses for clarity
I like it !
Why Expect(GetSum(5, -1)).To(Equal(14))
If the numbers are: -1, 0, 1 ,2 ,3 ,4 5
And the numbers to sum are (0,1,2,3,4) = 10
The problem says equal or greater, taking the integer part of 1241.228 give us the result of 3 years,
I think it is an error in the test case
awesome !