diff options
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> |