meta: tests
This commit is contained in:
@@ -13,11 +13,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ENTT_NAMED_TYPE(int)
|
||||
ENTT_NAMED_TYPE(char)
|
||||
ENTT_NAMED_TYPE(double)
|
||||
ENTT_NAMED_TYPE(float)
|
||||
|
||||
LIB_EXPORT typename entt::component a_module_int_type() {
|
||||
entt::registry registry;
|
||||
|
||||
|
||||
@@ -13,17 +13,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ENTT_NAMED_TYPE(int)
|
||||
ENTT_NAMED_TYPE(char)
|
||||
ENTT_NAMED_TYPE(double)
|
||||
ENTT_NAMED_TYPE(float)
|
||||
|
||||
LIB_EXPORT typename entt::component another_module_int_type() {
|
||||
entt::registry registry;
|
||||
|
||||
(void)registry.type<char>();
|
||||
(void)registry.type<const int>();
|
||||
(void)registry.type<double>();
|
||||
(void)registry.type<const int>();
|
||||
(void)registry.type<const char>();
|
||||
(void)registry.type<float>();
|
||||
|
||||
@@ -34,8 +29,8 @@ LIB_EXPORT typename entt::component another_module_char_type() {
|
||||
entt::registry registry;
|
||||
|
||||
(void)registry.type<int>();
|
||||
(void)registry.type<const char>();
|
||||
(void)registry.type<float>();
|
||||
(void)registry.type<const char>();
|
||||
(void)registry.type<const int>();
|
||||
(void)registry.type<double>();
|
||||
|
||||
|
||||
@@ -26,9 +26,6 @@ struct listener {
|
||||
int value;
|
||||
};
|
||||
|
||||
ENTT_NAMED_TYPE(int)
|
||||
ENTT_NAMED_TYPE(char)
|
||||
|
||||
TEST(Lib, Types) {
|
||||
entt::registry registry;
|
||||
|
||||
|
||||
@@ -20,3 +20,6 @@ ENTT_NAMED_STRUCT(an_event, {
|
||||
})
|
||||
|
||||
ENTT_NAMED_STRUCT(another_event, {})
|
||||
|
||||
ENTT_NAMED_TYPE(int)
|
||||
ENTT_NAMED_TYPE(char)
|
||||
|
||||
Reference in New Issue
Block a user