 # All test passes but not able to go to next problem

Tell us what’s happening:
Hi,
I wrote code for Problem 2. When I run test the result at the bottom column

Your code so far
// running tests
fiboEvenSum(10) should return 10.
fiboEvenSum(60) should return 44.
fiboEvenSum(1000) should return 798.
fiboEvenSum(100000) should return 60696.
fiboEvenSum(4000000) should return 4613732.
// tests completed
All test passes but not able to go to next problem.

``````
function fiboEvenSum(num) {
if (num <= 2) return 1
let sum = 0
let arr = [0, 1]

for (let i = 2; i < num; i++) {
arr[i] = arr[i - 1] + arr[i - 2]
if (arr[i] % 2 === 0) {
sum = sum + arr[i]
}
}
return sum
}

``````

Your browser information:

User Agent is: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36`.

Challenge: Problem 2: Even Fibonacci Numbers

Link to the challenge:

Let’s say you are taking a normal test at school and your teacher examines it and says that you completed it, and I completed the tests. You may have completed the tests, but they are not all correct.

On the left side of the FCC window, it shows the tests that didn’t pass.

Basically, I think you misunderstood the tests completed. I think FCC should make it more clear.

You have an issue with the bounds

By considering the terms in the Fibonacci sequence whose values do not exceed n, find the sum of the even-valued terms.

You are considering terms in the Fibonacci sequence with an index less than n.

I got it . I will fix that.