Browse Source

test: reactive mixin suite

Michele Caini 1 year ago
parent
commit
76eb4f4ded
1 changed files with 14 additions and 0 deletions
  1. 14 0
      test/entt/entity/reactive_mixin.cpp

+ 14 - 0
test/entt/entity/reactive_mixin.cpp

@@ -0,0 +1,14 @@
+#include <gtest/gtest.h>
+template<typename Type>
+struct ReactiveMixin: testing::Test {
+    using type = Type;
+};
+
+template<typename Type>
+using ReactiveMixinDeathTest = ReactiveMixin<Type>;
+
+using ReactiveMixinTypes = ::testing::Types<void, bool>;
+
+TYPED_TEST_SUITE(ReactiveMixin, ReactiveMixinTypes, );
+TYPED_TEST_SUITE(ReactiveMixinDeathTest, ReactiveMixinTypes, );
+