Ver código fonte

test: drop unnecessary checks

Michele Caini 2 anos atrás
pai
commit
1ff2db8aa2
1 arquivos alterados com 0 adições e 3 exclusões
  1. 0 3
      test/entt/entity/runtime_view.cpp

+ 0 - 3
test/entt/entity/runtime_view.cpp

@@ -90,7 +90,6 @@ TYPED_TEST(RuntimeView, Constructors) {
     const runtime_view_type other{std::move(temp), view.get_allocator()};
     const runtime_view_type other{std::move(temp), view.get_allocator()};
 
 
     ASSERT_TRUE(view.contains(entity));
     ASSERT_TRUE(view.contains(entity));
-    ASSERT_FALSE(temp.contains(entity)); // NOLINT
     ASSERT_TRUE(other.contains(entity));
     ASSERT_TRUE(other.contains(entity));
 }
 }
 
 
@@ -140,7 +139,6 @@ TYPED_TEST(RuntimeView, Move) {
 
 
     runtime_view_type other{std::move(view)};
     runtime_view_type other{std::move(view)};
 
 
-    ASSERT_FALSE(view.contains(entity)); // NOLINT
     ASSERT_TRUE(other.contains(entity));
     ASSERT_TRUE(other.contains(entity));
 
 
     view = other;
     view = other;
@@ -151,7 +149,6 @@ TYPED_TEST(RuntimeView, Move) {
 
 
     other = std::move(view);
     other = std::move(view);
 
 
-    ASSERT_FALSE(view.contains(entity)); // NOLINT
     ASSERT_TRUE(other.contains(entity));
     ASSERT_TRUE(other.contains(entity));
 }
 }