Menu

Code Commit Log


Commit Date  
[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
[r553] by smr99

Make sure that CPPUNIT_ASSERT_DOUBLES_EQUAL() properly handles
non-finite values.

2007-01-27 05:47:37 Tree
[r552] by smr99

Add unit tests for CPPUNIT_ASSERT_DOUBLES_EQUAL() that test with
non-finite values.

2007-01-27 05:46:30 Tree
[r551] by smr99

Account for non-finite values in assertDoubleEquals().

Conditional inclusion of cmath rather than math.h removed since (1) it
was never used as HAVE_CMATH is never defined, and (2) cmath may move
isfinite() into namespace std.

2007-01-27 05:45:08 Tree
Older >
MongoDB Logo MongoDB