Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2007-09-07 15:57:11


Author: bemandawes
Date: 2007-09-07 15:57:10 EDT (Fri, 07 Sep 2007)
New Revision: 39159
URL: http://svn.boost.org/trac/boost/changeset/39159

Log:
Add error_category relational ops test cases
Text files modified:
   branches/libs/system/system/test/error_code_test.cpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: branches/libs/system/system/test/error_code_test.cpp
==============================================================================
--- branches/libs/system/system/test/error_code_test.cpp (original)
+++ branches/libs/system/system/test/error_code_test.cpp 2007-09-07 15:57:10 EDT (Fri, 07 Sep 2007)
@@ -61,6 +61,14 @@
 
   std::cout << "General tests...\n";
   // unit tests:
+
+ BOOST_CHECK( posix_category == posix_category );
+ BOOST_CHECK( system_category == system_category );
+ BOOST_CHECK( posix_category != system_category );
+ BOOST_CHECK( system_category != posix_category );
+ BOOST_CHECK( posix_category < system_category );
+ BOOST_CHECK( !(system_category < posix_category) );
+
   error_code ec;
   error_condition dec;
   BOOST_CHECK( !ec );


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk