test: drop a bunch of NOLINT

This commit is contained in:
Michele Caini
2024-01-11 14:11:43 +01:00
parent 9800bfa680
commit 15d63ec358
3 changed files with 9 additions and 9 deletions

View File

@@ -54,7 +54,7 @@ TEST(EntityCopy, SameRegistry) {
const auto dst = registry.create();
custom.emplace(src, 1.);
registry.emplace<int>(src, 42); // NOLINT
registry.emplace<int>(src, 2);
registry.emplace<char>(src, 'c');
ASSERT_EQ(registry.storage<entt::entity>().size(), 2u);
@@ -76,7 +76,7 @@ TEST(EntityCopy, SameRegistry) {
ASSERT_TRUE((registry.all_of<int, char>(src)));
ASSERT_TRUE((registry.all_of<int, char>(dst)));
ASSERT_EQ(registry.get<int>(dst), 42);
ASSERT_EQ(registry.get<int>(dst), 2);
ASSERT_EQ(registry.get<char>(dst), 'c');
}
@@ -90,7 +90,7 @@ TYPED_TEST(EntityCopy, CrossRegistry) {
const auto entity = src.create();
const auto copy = dst.create();
src.emplace<int>(entity, 42); // NOLINT
src.emplace<int>(entity, 2);
src.emplace<char>(entity, 'c');
ASSERT_EQ(src.storage<entt::entity>().size(), 1u);
@@ -118,6 +118,6 @@ TYPED_TEST(EntityCopy, CrossRegistry) {
ASSERT_TRUE((src.all_of<int, char>(entity)));
ASSERT_TRUE((dst.template all_of<int, char>(copy)));
ASSERT_EQ(dst.template get<int>(copy), 42);
ASSERT_EQ(dst.template get<int>(copy), 2);
ASSERT_EQ(dst.template get<char>(copy), 'c');
}