test: make tests for entity traits work when id_type is std::uint64_t
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user