diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-11 17:24:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-11 17:24:19 +0300 |
commit | ece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2 (patch) | |
tree | f41ca28dd48a621b421d187ffcc5553d298f570d /src/resources/sprite/animatedsprite_unittest.cc | |
parent | 7f5f2394d3f3dccf2e6a07a466f3840dafed8e04 (diff) | |
download | manaverse-ece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2.tar.gz manaverse-ece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2.tar.bz2 manaverse-ece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2.tar.xz manaverse-ece98b5c7baefc8fe0326bdfea8de4fe14ed0bf2.zip |
Fix asserts in unit tests.
Diffstat (limited to 'src/resources/sprite/animatedsprite_unittest.cc')
-rw-r--r-- | src/resources/sprite/animatedsprite_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/sprite/animatedsprite_unittest.cc b/src/resources/sprite/animatedsprite_unittest.cc index c924580a6..917e53c10 100644 --- a/src/resources/sprite/animatedsprite_unittest.cc +++ b/src/resources/sprite/animatedsprite_unittest.cc @@ -26,6 +26,8 @@ #include "const/resources/spriteaction.h" +#include "being/actorsprite.h" + #include "gui/theme.h" #include "resources/resourcemanager.h" @@ -53,6 +55,7 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") ResourceManager::init(); resourceManager->addToSearchPath("data", Append_false); resourceManager->addToSearchPath("../data", Append_false); + ActorSprite::load(); imageHelper = new SDLImageHelper(); #ifdef USE_SDL2 |