test: improve code coverage on deprecated function

This commit is contained in:
Michele Caini
2024-01-08 15:23:49 +01:00
parent 140d0dab6a
commit 52f8e6db30

View File

@@ -66,6 +66,9 @@ TYPED_TEST(ToEntity, Functionalities) {
entt::registry registry;
const entt::entity null = entt::null;
ASSERT_EQ(entt::to_entity(registry, value_type{42}), null); // NOLINT
auto &storage = registry.storage<value_type>();
constexpr auto page_size = entt::storage_type_t<value_type>::traits_type::page_size;
const value_type value{42};