diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-04-05 15:05:36 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-04-05 15:05:36 +0100 |
commit | aeeca45ae53c2382354f26fb4dae02fbda62b314 (patch) | |
tree | 04e94114d58b2fa726943c590d3261ed472507ea /tests/spritesheet/test.cpp | |
parent | 0d10ba12062144a270a368ef9bffd88517a6c27c (diff) | |
download | YAGE-aeeca45ae53c2382354f26fb4dae02fbda62b314.tar.gz YAGE-aeeca45ae53c2382354f26fb4dae02fbda62b314.zip |
Adding test abstraction and fixing tests
Diffstat (limited to 'tests/spritesheet/test.cpp')
-rw-r--r-- | tests/spritesheet/test.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/spritesheet/test.cpp b/tests/spritesheet/test.cpp index 4d4cc1a4..7fe4e77f 100644 --- a/tests/spritesheet/test.cpp +++ b/tests/spritesheet/test.cpp @@ -6,21 +6,17 @@ * ---------------------------------------------------------------------------- */ -/** @file */ - #include <gtest/gtest.h> #include <yage/yage.h> +#include "../testshared.h" + using namespace yage; TEST(SpriteSheet, Load) { - /// @todo add a test to test the spritesheet loading + SpriteSheet sp("tests/spritesheet/floor_atlas.png", "tests/spritesheet/floor_atlas.json"); ASSERT_TRUE(true); } -int main(int argc, char **argv) -{ - testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); -} +OPENGL_TEST_MAIN(LogLevel::DEBUG) |