diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/spritesheettest.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
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 <yage/yage.h> #include <gtest/gtest.h> +#include <yage/yage.h> + +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(); } |