Program crash when assertion failed

Rainbow
2005-06-01
2013-04-22
  • Rainbow
    Rainbow
    2005-06-01

    If assertion OK, then no problem.
    For example:
    CPPUNIT_ASSERT_EQUAL(er, CParameterList::NoErrors);
    This code work when er==CParameterList::NoErrors.
    If er!=CParameterList::NoErrors, progmam crash.