Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
EXPECT_TRUE( l.contains( i.key ));
EXPECT_TRUE( l.contains( list_key_type(i.key)));
EXPECT_TRUE( l.contains( other_key( i.key ), other_less()));
EXPECT_TRUE( l.contains( i.key ));
EXPECT_TRUE( l.contains( list_key_type(i.key)));
EXPECT_TRUE( l.contains( other_key( i.key ), other_less()));
n.second.val = n.first.nKey;
} ));
EXPECT_TRUE( l.find( i.key, []( list_value_type& n ) {
n.second.val = n.first.nKey;
} ));
EXPECT_TRUE( l.find( i.key, []( list_value_type& n ) {
EXPECT_CONTAINER_SIZE( l, 0 );
// empty list iterator test
EXPECT_CONTAINER_SIZE( l, 0 );
// empty list iterator test
- EXPECT_EQ( key, it.first.key() );
- EXPECT_EQ( it.second.val, it.first.key() );
+ EXPECT_EQ( key, it.first.key());
+ EXPECT_EQ( it.second.val, it.first.key());
EXPECT_EQ( it->first.key() * 10, it->second.val );
it->second.val = it->first.key() * 2;
++key;
EXPECT_EQ( it->first.key() * 10, it->second.val );
it->second.val = it->first.key() * 2;
++key;