Michele Caini hace 9 años
padre
commit
29e6c29236
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      test/registry.cpp

+ 4 - 0
test/registry.cpp

@@ -142,7 +142,11 @@ TEST(DefaultRegistry, Copy) {
     ASSERT_TRUE(registry.has<char>(e2));
     ASSERT_FALSE(registry.has<double>(e2));
 
+    ASSERT_FALSE(registry.empty<int>());
+    ASSERT_FALSE(registry.empty<char>());
     ASSERT_TRUE(registry.empty<double>());
+
+    registry.reset();
 }
 
 TEST(DefaultRegistry, ViewSingleComponent) {