Update of /cvsroot/boost/boost/libs/bimap/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28120

Modified Files:
        test_bimap_range.cpp 
Log Message:
test extra typedefs, (i.e. left_range_type)

Index: test_bimap_range.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/bimap/test/test_bimap_range.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- test_bimap_range.cpp        26 May 2007 02:54:12 -0000      1.1
+++ test_bimap_range.cpp        27 May 2007 05:41:54 -0000      1.2
@@ -79,7 +79,7 @@
     // left range
     {
 
-    bm_type::left_map::range_type r = bm.left.range( 2.0 < _key, _key < 4.0 );
+    bm_type::left_range_type r = bm.left.range( 2.0 < _key, _key < 4.0 );
     BOOST_CHECK( ! boost::empty(r) );
     BOOST_CHECK( boost::begin(r) == bm.left.upper_bound(2.0) );
     BOOST_CHECK( boost::end(r)   == bm.left.lower_bound(4.0) );
@@ -89,7 +89,7 @@
     // right range
     {
 
-    bm_type::right_map::range_type r = bm.right.range( 2 <= _key, _key <= 3 );
+    bm_type::right_range_type r = bm.right.range( 2 <= _key, _key <= 3 );
     BOOST_CHECK( ! boost::empty(r) );
     BOOST_CHECK( boost::begin(r) == bm.right.lower_bound(2) );
     BOOST_CHECK( boost::end(r)   == bm.right.upper_bound(3) );
@@ -99,8 +99,8 @@
     // const range from range
     {
 
-    bm_type:: left_map::const_range_type lr = bm. left.range( unbounded, _key 
< 4.0 );
-    bm_type::right_map::const_range_type rr = bm.right.range( 2 < _key ,  
unbounded );
+    bm_type:: left_const_range_type lr = bm. left.range( unbounded, _key < 4.0 
);
+    bm_type::right_const_range_type rr = bm.right.range( 2 < _key ,  unbounded 
);
 
     }
 
@@ -108,7 +108,7 @@
 
     // left const range
     {
-    bm_type:: left_map::const_range_type r = cbm.left.range( unbounded, 
unbounded );
+    bm_type:: left_const_range_type r = cbm.left.range( unbounded, unbounded );
     BOOST_CHECK( ! boost::empty(r) );
     BOOST_CHECK( boost::begin(r) == cbm.left.begin() );
 
@@ -117,7 +117,7 @@
     // right const range
     {
 
-    bm_type::right_map::const_range_type r = cbm.right.range( 1 < _key, _key < 
1 );
+    bm_type::right_const_range_type r = cbm.right.range( 1 < _key, _key < 1 );
     BOOST_CHECK( boost::empty(r) );
 
     }


-------------------------------------------------------------------------
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

Reply via email to