java.lang.AssertionError: result expected:<1> but was:<2> ...

tue.nl | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Programming Methods (2IPC0): Frequently Asked Questions

    tue.nl | 8 months ago
    java.lang.AssertionError: result expected:<1> but was:<2> ...

    Root Cause Analysis

    1. java.lang.AssertionError

      result expected:<1> but was:<2> ...

      at CandyTest.testDivide4()
    2. Unknown
      CandyTest.testDivide4
      1. CandyTest.testDivide4(CandyTest.java:51)
      1 frame