Ad
  • Default User Avatar

    Hi,
    I am getting this when I run my code. It delivers the right answer, but somehow the tests do expect something different. Does anyone know what is going wrong or how to resolve this?
    Thank you.

    test5(NthSeriesTest)
    ✘ expected:< 2.4 [0] > but was:< 2.4 [] >

    test6(NthSeriesTest)
    ✘ expected:< 2.5 [0] > but was:< 2.5 [] >

  • Default User Avatar

    The console output says: Expected 15, but was 6.
    I tested it in Eclipse and my function gives back 6.
    Therefore, I thought that the result expected from the test case is wrong.

  • Default User Avatar

    Test case is looking for 15, but instruction states to repeat the process until you get a one digit integer (which would be 6).