test: make tests for entity traits work when id_type is std::uint64_t

This commit is contained in:
Michele Caini
2021-07-26 23:30:32 +02:00
parent 9090f84611
commit 6d1e4fb3da

View File

@@ -30,7 +30,7 @@ TEST(Entity, Traits) {
ASSERT_EQ(traits_type::construct(), static_cast<entt::entity>(entt::null));
ASSERT_EQ(traits_type::construct(), static_cast<entt::entity>(entt::tombstone));
ASSERT_EQ(traits_type::construct(), entt::entity{0xFFFFFFFF});
ASSERT_EQ(traits_type::construct(), entt::entity{~entt::id_type{}});
}
TEST(Entity, Null) {