Changes between Version 3 and Version 4 of oss/lolunit/tutorial
- Timestamp:
- Sep 8, 2011, 3:34:54 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
oss/lolunit/tutorial
v3 v4 106 106 107 107 {{{ 108 .. F108 ...F 109 109 110 110 !!!FAILURES!!! … … 173 173 174 174 One 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 176 And this is the output: 177 178 {{{ 179 ...F 180 181 182 !!!FAILURES!!! 183 Test Results: 184 Run: 3 Failures: 1 Errors: 0 185 186 187 1) test: MyFirstFixture::ExpectedFailure (F) line: 34 tutorial.cpp 188 double equality assertion failed 189 - Expected: 0.1 190 - Actual : 0.2 191 - Delta : 1e-10 192 }}}