aboutsummaryrefslogtreecommitdiffstats
path: root/tests/engine/test.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-01-10 18:38:31 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-01-10 18:38:31 +0000
commit21ebdb0b3206bef69fee2b5f9b34573a516eddb4 (patch)
tree5fac3b692fecc7899f8c746e2116cdf6e2eee7b1 /tests/engine/test.cpp
parentfe9fa3a98166718171b7687c24c289b4a2b5cf44 (diff)
parent5fe329fe40c296a4a3dce9bc5543419ac954e4b0 (diff)
downloadYAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.tar.gz
YAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.zip
Merge branch 'develop'
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;
+}