diff --git a/test/example/custom_identifier.cpp b/test/example/custom_identifier.cpp index b2d8da514..81b12da9f 100644 --- a/test/example/custom_identifier.cpp +++ b/test/example/custom_identifier.cpp @@ -41,10 +41,10 @@ TEST(Example, CustomIdentifier) { ASSERT_FALSE((registry.all_of(entity))); ASSERT_EQ(registry.try_get(entity), nullptr); - registry.emplace(entity, 42); // NOLINT + registry.emplace(entity, 2); ASSERT_TRUE((registry.any_of(entity))); - ASSERT_EQ(registry.get(entity), 42); // NOLINT + ASSERT_EQ(registry.get(entity), 2); registry.destroy(entity); diff --git a/test/example/entity_copy.cpp b/test/example/entity_copy.cpp index c1c86ae78..f6a8384ab 100644 --- a/test/example/entity_copy.cpp +++ b/test/example/entity_copy.cpp @@ -54,7 +54,7 @@ TEST(EntityCopy, SameRegistry) { const auto dst = registry.create(); custom.emplace(src, 1.); - registry.emplace(src, 42); // NOLINT + registry.emplace(src, 2); registry.emplace(src, 'c'); ASSERT_EQ(registry.storage().size(), 2u); @@ -76,7 +76,7 @@ TEST(EntityCopy, SameRegistry) { ASSERT_TRUE((registry.all_of(src))); ASSERT_TRUE((registry.all_of(dst))); - ASSERT_EQ(registry.get(dst), 42); + ASSERT_EQ(registry.get(dst), 2); ASSERT_EQ(registry.get(dst), 'c'); } @@ -90,7 +90,7 @@ TYPED_TEST(EntityCopy, CrossRegistry) { const auto entity = src.create(); const auto copy = dst.create(); - src.emplace(entity, 42); // NOLINT + src.emplace(entity, 2); src.emplace(entity, 'c'); ASSERT_EQ(src.storage().size(), 1u); @@ -118,6 +118,6 @@ TYPED_TEST(EntityCopy, CrossRegistry) { ASSERT_TRUE((src.all_of(entity))); ASSERT_TRUE((dst.template all_of(copy))); - ASSERT_EQ(dst.template get(copy), 42); + ASSERT_EQ(dst.template get(copy), 2); ASSERT_EQ(dst.template get(copy), 'c'); } diff --git a/test/example/signal_less.cpp b/test/example/signal_less.cpp index b64df56f6..bf6714ff6 100644 --- a/test/example/signal_less.cpp +++ b/test/example/signal_less.cpp @@ -39,8 +39,8 @@ TEST(Example, SignalLess) { // literally a test for storage_adapter_mixin registry.emplace(entity[0], 0); registry.erase(entity[0]); - registry.insert(std::begin(entity), std::end(entity), 3); // NOLINT - registry.patch(entity[0], [](auto &value) { value = 42; }); // NOLINT + registry.insert(std::begin(entity), std::end(entity), 3); // NOLINT + registry.patch(entity[0], [](auto &value) { value = 2; }); - ASSERT_EQ(registry.get(entity[0]), 42); // NOLINT + ASSERT_EQ(registry.get(entity[0]), 2); }