verify correct key behaviour
This commit is contained in:
parent
47e148af8f
commit
4a4d23573d
@ -19,5 +19,8 @@ TEST_CASE("Object Id", "[object-id]") {
|
||||
CHECK(iter != testMap.end());
|
||||
CHECK(std::strcmp(iter->first.name(), "TEST_ID") == 0);
|
||||
CHECK(iter->second == 10);
|
||||
auto otherIdSameName = ObjectId(12, "TEST_ID");
|
||||
insertPair = testMap.emplace(otherIdSameName, 10);
|
||||
CHECK(insertPair.second);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user