Michele Caini пре 3 година
родитељ
комит
ea901cbfa0
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      test/entt/core/memory.cpp

+ 4 - 0
test/entt/core/memory.cpp

@@ -24,6 +24,10 @@ TEST(ToAddress, Functionalities) {
 
 TEST(PoccaPocmaAndPocs, Functionalities) {
     test::basic_test_allocator<int> lhs, rhs;
+
+    // code coverage purposes
+    ASSERT_FALSE(lhs == rhs);
+
     // honestly, I don't even know how one is supposed to test such a thing :)
     entt::propagate_on_container_copy_assignment(lhs, rhs);
     entt::propagate_on_container_move_assignment(lhs, rhs);