aboutsummaryrefslogtreecommitdiffstats
path: root/tests/engine/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/engine/test.cpp')
-rw-r--r--tests/engine/test.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/engine/test.cpp b/tests/engine/test.cpp
new file mode 100644
index 00000000..57680b99
--- /dev/null
+++ b/tests/engine/test.cpp
@@ -0,0 +1,16 @@
+#include <yage/engine/space.h>
+
+#include <yage/yage.h>
+
+int main()
+{
+ yage::Space space;
+ auto entity = space.createEntity();
+ auto entity2 = space.createEntity();
+ auto entity3 = space.createEntity();
+
+ yLogInfo << "Entity 1: " << entity;
+ yLogInfo << "Entity 3: " << entity3;
+ yLogInfo << "Entity 2: " << entity2;
+ return 0;
+}