Update of /cvsroot/cppunit/cppunit
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3470
Modified Files:
ChangeLog NEWS
Log Message:
* include/cppunit/TestAssert.h: integrated Neil Ferguson patch for high
precision conversion to string for double number. Modified the patch
to works even if DBL_DIG C99 macro is not defined.
Index: NEWS
===================================================================
RCS file: /cvsroot/cppunit/cppunit/NEWS,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -d -r1.83 -r1.84
*** NEWS 5 Nov 2004 22:47:18 -0000 1.83
--- NEWS 6 Nov 2004 09:05:45 -0000 1.84
***************
*** 21,31 ****
CPPUNIT_ASSERT_ASSERTION_PASS_MESSAGE
- Some assertions failure message are now more detailed (exception, expression).
- Thanks to Neil Ferguson who contributed this patch.
-
Notes: change made to CPPUNIT_ASSERT_THROW may cause compilation error
if you're expecting std::exception as it would be caught twice. Contact us
if it is an issue (we don't see much use for such a test).
* Outputter:
--- 21,38 ----
CPPUNIT_ASSERT_ASSERTION_PASS_MESSAGE
Notes: change made to CPPUNIT_ASSERT_THROW may cause compilation error
if you're expecting std::exception as it would be caught twice. Contact us
if it is an issue (we don't see much use for such a test).
+ Some assertions failure message are now more detailed (exception,
+ expression).
+ Thanks to Neil Ferguson who contributed this patch.
+
+ - Assertion on real number now output expected and actual value using the
+ maximum available precision instead of the previous strategy of rounding
+ to 6 digits.
+
+ Thanks to Neil Ferguson who contributed this patch.
+
* Outputter:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cppunit/cppunit/ChangeLog,v
retrieving revision 1.220
retrieving revision 1.221
diff -C2 -d -r1.220 -r1.221
*** ChangeLog 5 Nov 2004 22:47:18 -0000 1.220
--- ChangeLog 6 Nov 2004 09:05:45 -0000 1.221
***************
*** 1,2 ****
--- 1,8 ----
+ 2004-11-06 Baptiste Lepilleur <gai...@fr...>
+
+ * include/cppunit/TestAssert.h: integrated Neil Ferguson patch for high
+ precision conversion to string for double number. Modified the patch
+ to works even if DBL_DIG C99 macro is not defined.
+
2004-11-05 Baptiste Lepilleur <gai...@fr...>
|