aboutsummaryrefslogtreecommitdiffstats
path: root/tests/spritesheet/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spritesheet/test.cpp')
-rw-r--r--tests/spritesheet/test.cpp12
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)