diff options
-rw-r--r-- | tests/core.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/core.cpp b/tests/core.cpp index eb315e5..5b6c116 100644 --- a/tests/core.cpp +++ b/tests/core.cpp @@ -42,6 +42,9 @@ SAW_TEST("ID Map Insert"){ auto eoid_2 = map.insert(foo{}); SAW_EXPECT(eoid_2.is_value(), "Second Insert failed"); + auto& id_2 = eoid_2.get_value(); + + SAW_EXPECT(id != id_2, "Shouldn't be equal"); auto eov = map.erase(id); SAW_EXPECT(eov.is_value(), "Erase failed"); |