From 0a552386527cacd450ce37745cf8cec468277a53 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 24 Sep 2014 10:33:46 -0700 Subject: [PATCH] Removed some debugging code from the test --- test/partition_point_test1.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/partition_point_test1.cpp b/test/partition_point_test1.cpp index 3d66770..37d517d 100644 --- a/test/partition_point_test1.cpp +++ b/test/partition_point_test1.cpp @@ -43,23 +43,17 @@ void test_sequence ( Container &v, Predicate comp, int expected ) { res = ba::partition_point ( v.begin (), v.end (), comp ); exp = offset_to_iter ( v, expected ); - std::cout << "Expected(1): " << std::distance ( v.begin (), exp ) - << ", got: " << std::distance ( v.begin (), res ) << std::endl; BOOST_CHECK ( exp == res ); // Duplicate the last element; this checks for any even/odd problems v.push_back ( * v.rbegin ()); res = ba::partition_point ( v.begin (), v.end (), comp ); exp = offset_to_iter ( v, expected ); - std::cout << "Expected(2): " << std::distance ( v.begin (), exp ) - << ", got: " << std::distance ( v.begin (), res ) << std::endl; BOOST_CHECK ( exp == res ); // Range based test res = ba::partition_point ( v, comp ); exp = offset_to_iter ( v, expected ); - std::cout << "Expected(3): " << std::distance ( v.begin (), exp ) - << ", got: " << std::distance ( v.begin (), res ) << std::endl; BOOST_CHECK ( exp == res ); }