Ad
  • Custom User Avatar

    Java:
    allMixed
    mixed 2 expected:<8.0> but was:<1.0E-4>
    java.lang.AssertionError: mixed 2 expected:<8.0> but was:<1.0E-4>

    I do not understand what the problem is, the usual test passes without problems, all the others, too, and only the latter displays this error. Can you help?

  • Custom User Avatar

    y, errors in test:
    assertEquals(0, FindOddCubes.cubeOdd(new int[] {-3, -2, 2, 3})); Must be -19(-3^3+2^2=-19, not 0); expected:<0> but was:<-19>