Changes between Version 3 and Version 4 of oss/lolunit/tutorial


Ignore:
Timestamp:
Sep 8, 2011, 3:34:54 PM (8 years ago)
Author:
sam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • oss/lolunit/tutorial

    v3 v4  
    106106
    107107{{{
    108 ..F
     108...F
    109109
    110110!!!FAILURES!!!
     
    173173
    174174One major problem I have with this system is that `Addition` needs to be declared and defined at two different places. Similarly, `MyFirstFixture` needs to be declared, then given as an argument to `CPPUNIT_TEST_SUITE`, and finally as an argument to `CPPUNIT_TEST_SUITE_REGISTRATION`. There is no reason the user should have to duplicate this information.
     175
     176And this is the output:
     177
     178{{{
     179...F
     180
     181
     182!!!FAILURES!!!
     183Test Results:
     184Run:  3   Failures: 1   Errors: 0
     185
     186
     1871) test: MyFirstFixture::ExpectedFailure (F) line: 34 tutorial.cpp
     188double equality assertion failed
     189- Expected: 0.1
     190- Actual  : 0.2
     191- Delta   : 1e-10
     192}}}