Menu

Code Commit Log


Commit Date  
[r563] by smr99

Change from qlist.h to qptrlist.h, avoiding compatibility header.

2008-02-07 08:48:15 Tree
[r562] by smr99

Make floatingPointIsFinite() return int. Fix comment about comparisons and IEEE NaN.

2007-03-05 03:17:27 Tree
[r561] by blep

* doc/cookbook.dox: changed suite() to return a TestSuite instead
of a Test to avoid introducing unnecessary complexity.

2007-02-25 09:21:45 Tree
[r560] by blep

- removed wrong comment.

2007-02-25 08:49:12 Tree
[r559] by smr99

portability/FloatingPoint.h must include Portability.h

2007-02-25 03:54:35 Tree
[r558] by blep

* src/cppunit/TestAssert.cpp (assertDoubleEquals): Moved finite & NaN
tests to include/cppunit/portability/FloatingPoint.h. Changed
implementation assertDoubleEquals to explicitly test for NaN
in case of non-finite values to force equality failure in the
presence of NaN. Previous implementation failed on Microsoft
Visual Studio 6 (on this platform: NaN == NaN).
* examples/cppunittest/TestAssertTest.cpp: Add more unit tests to
test the portable floating-point primitive. Added missing
include <limits>.

* include/cppunit/portability/Makefile.am:
* include/cppunit/portability/FloatingPoint.h: Added file. Extracted
isfinite() from TestAssert.cpp.

* include/cppunit/config-evc4:
* include/cppunit/config-msvc6: Added support for _finite().

2007-02-24 21:13:04 Tree
[r557] by smr99

Add tests of the precision generated by
assertion_traits<double>::toString().

2007-01-31 05:27:07 Tree
[r556] by smr99

* examples/cppunittest/TestAssertTest.cpp:
* examples/cppunittest/TestAssertTest.h: Remove declaration of
unimplemented functions testAssertDoubleNotEquals1 and
testAssertDoubleNotEquals2. Factor new method
testAssertDoubleNonFinite out of existing testAssertDoubleEquals.

2007-01-27 15:50:11 Tree
[r555] by smr99

Apply patch to fix [ 1293903 ] UNICODE Builds not supported

2007-01-27 06:29:17 Tree
[r554] by smr99

Note that CPPUNIT_ASSERT_DOUBLES_EQUAL handles non-finite numbers.

2007-01-27 06:02:22 Tree
Older >
MongoDB Logo MongoDB