diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-10 18:38:31 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-01-10 18:38:31 +0000 |
commit | 21ebdb0b3206bef69fee2b5f9b34573a516eddb4 (patch) | |
tree | 5fac3b692fecc7899f8c746e2116cdf6e2eee7b1 /tests | |
parent | fe9fa3a98166718171b7687c24c289b4a2b5cf44 (diff) | |
parent | 5fe329fe40c296a4a3dce9bc5543419ac954e4b0 (diff) | |
download | YAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.tar.gz YAGE-21ebdb0b3206bef69fee2b5f9b34573a516eddb4.zip |
Merge branch 'develop'
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/engine/test.cpp | 16 | ||||
-rw-r--r-- | tests/vector3/test.cpp | 32 | ||||
-rw-r--r-- | tests/vector4/test.cpp | 32 |
4 files changed, 17 insertions, 64 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 36afa574..5b7d6fd3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -32,3 +32,4 @@ make_test(thread 1) make_test(syncqueue 1) make_test(active 1) make_test(struct ${SIMULATION_RUNS}) +make_test(engine ${SIMULATION_RUNS}) 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; +} diff --git a/tests/vector3/test.cpp b/tests/vector3/test.cpp index e65d29f1..2e4ba18b 100644 --- a/tests/vector3/test.cpp +++ b/tests/vector3/test.cpp @@ -6,38 +6,6 @@ * ---------------------------------------------------------------------------- */ -/** --------------------------------------------------------------------------- - * @file: test.cpp - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - -/** --------------------------------------------------------------------------- - * @file: test.cpp - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - -/** --------------------------------------------------------------------------- - * @file: test.cpp - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - -/** --------------------------------------------------------------------------- - * @file: test.cpp - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - #include <gtest/gtest.h> #include <yage/yage.h> diff --git a/tests/vector4/test.cpp b/tests/vector4/test.cpp index 6ef5462d..3705e86f 100644 --- a/tests/vector4/test.cpp +++ b/tests/vector4/test.cpp @@ -6,38 +6,6 @@ * ---------------------------------------------------------------------------- */ -/** --------------------------------------------------------------------------- - * @file: test.cpp - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - -/** --------------------------------------------------------------------------- - * @file: test.cpp - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - -/** --------------------------------------------------------------------------- - * @file: test.cpp - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - -/** --------------------------------------------------------------------------- - * @file: test.cpp - * - * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> - * MIT License, see LICENSE file for more details. - * ---------------------------------------------------------------------------- - */ - #include <gtest/gtest.h> #include <yage/yage.h> |