From 5e6067f74e7ac072656f11ead0f22ec7f8e9c525 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 25 Sep 2017 17:46:30 +0100 Subject: Testing spritesheet --- tests/spritesheettest.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/spritesheettest.cpp b/tests/spritesheettest.cpp index b801688b..84c4c1cc 100644 --- a/tests/spritesheettest.cpp +++ b/tests/spritesheettest.cpp @@ -1,7 +1,20 @@ -#include #include +#include + +using namespace yage; TEST(SpriteSheet, Load) { + yage::init(); + Window window; + window.create("SpriteSheet test", 800, 640); + window.hide(); + SpriteSheet("resources/floor_atlas.png", "resources/floor_atlas.json"); + yage::quit(); +} +int main(int argc, char **argv) +{ + testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); } -- cgit