Update of /cvsroot/boost/boost/libs/system/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9636
Modified Files:
Tag: c++0x
error_code_test.cpp
Log Message:
Add operator< tests
Index: error_code_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/system/test/error_code_test.cpp,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- error_code_test.cpp 17 Jun 2007 15:55:56 -0000 1.1.2.1
+++ error_code_test.cpp 18 Jun 2007 11:48:05 -0000 1.1.2.2
@@ -97,6 +97,9 @@
BOOST_CHECK( ec_0_posix.category().name() == "POSIX" );
BOOST_CHECK( ec_0_native.category().name() == "native" );
+ BOOST_CHECK( ec_0_posix.category() < ec_0_native.category() );
+ BOOST_CHECK( ec_0_posix < ec_0_native );
+
check_ostream( ec_0_posix, "POSIX:0" );
check_ostream( ec_1_posix, "POSIX:1" );
check_ostream( ec_0_native, "native:0" );
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs