diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-04-06 15:38:13 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-04-06 15:38:13 +0100 |
commit | 52fae93d2903fc606bb0c4347a994a1b1285835b (patch) | |
tree | a58a595c55d429c13368e8e216a573af92952605 /tests | |
parent | 4416e0b3a3245f77bd8dde7d2bba80743c6fa20b (diff) | |
download | YAGE-52fae93d2903fc606bb0c4347a994a1b1285835b.tar.gz YAGE-52fae93d2903fc606bb0c4347a994a1b1285835b.zip |
Fixing documentation and building
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/spritesheet/test.cpp | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 707492aa..5b7d6fd3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -33,4 +33,3 @@ make_test(syncqueue 1) make_test(active 1) make_test(struct ${SIMULATION_RUNS}) make_test(engine ${SIMULATION_RUNS}) -make_test(render ${SIMULATION_RUNS}) diff --git a/tests/spritesheet/test.cpp b/tests/spritesheet/test.cpp index 7fe4e77f..1955d63e 100644 --- a/tests/spritesheet/test.cpp +++ b/tests/spritesheet/test.cpp @@ -15,7 +15,8 @@ using namespace yage; TEST(SpriteSheet, Load) { - SpriteSheet sp("tests/spritesheet/floor_atlas.png", "tests/spritesheet/floor_atlas.json"); + yLogDebug << IoManager::parentDirectory(__FILE__) << '\n' << __FILE__; + SpriteSheet sp(IoManager::parentDirectory(__FILE__), IoManager::parentDirectory(__FILE__)); ASSERT_TRUE(true); } |