aboutsummaryrefslogtreecommitdiffstats
path: root/tests/spritesheettest.cpp
blob: 84c4c1ccdaf26f5b141c571c7f4e71b7f6a1e939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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();
}