projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b1423b
)
Fix bug in map header test
author
khizmax
<libcds.dev@gmail.com>
Mon, 3 Nov 2014 06:56:37 +0000
(09:56 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Mon, 3 Nov 2014 06:56:37 +0000
(09:56 +0300)
tests/test-hdr/map/hdr_map.h
patch
|
blob
|
history
diff --git
a/tests/test-hdr/map/hdr_map.h
b/tests/test-hdr/map/hdr_map.h
index f4961e74d9286a0b8e5fb3cbe7fcc8861accf0d3..d27b3551c96d7f23ae604d4276207a698ce99102 100644
(file)
--- 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;
}