diff options
Diffstat (limited to 'tests/spritesheet')
-rw-r--r-- | tests/spritesheet/test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |