From: khizmax Date: Mon, 3 Nov 2014 06:56:37 +0000 (+0300) Subject: Fix bug in map header test X-Git-Tag: v2.0.0~141 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e7759e69592bea01bd588a4dcebaa79c38101524;p=libcds.git Fix bug in map header test --- diff --git a/tests/test-hdr/map/hdr_map.h b/tests/test-hdr/map/hdr_map.h index f4961e74..d27b3551 100644 --- a/tests/test-hdr/map/hdr_map.h +++ b/tests/test-hdr/map/hdr_map.h @@ -608,7 +608,7 @@ namespace map { for ( iterator it = m.begin(), itEnd = m.end(); it != itEnd; ++it ) { iterator it2 = it; CPPUNIT_CHECK( it2 == it ); - CPPUNIT_CHECK( it2 == itEnd ); + CPPUNIT_CHECK( it2 != itEnd ); CPPUNIT_ASSERT( it->first * 2 == (*it).second.m_val ); it->second = it->first; }