mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
Test Fixture
This commit is contained in:
parent
634a3940ac
commit
09a092475e
@ -2,11 +2,14 @@
|
||||
#include <loaders/LoaderIPL.hpp>
|
||||
#include "test_Globals.hpp"
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(LoaderIPLTests)
|
||||
struct WithLoaderIPL {
|
||||
LoaderIPL loader;
|
||||
};
|
||||
|
||||
BOOST_FIXTURE_TEST_SUITE(LoaderIPLTests, WithLoaderIPL)
|
||||
|
||||
#if RW_TEST_WITH_DATA
|
||||
BOOST_AUTO_TEST_CASE(test_load_zones) {
|
||||
LoaderIPL loader;
|
||||
const auto& gdpath = Global::get().getGamePath();
|
||||
BOOST_REQUIRE(loader.load(gdpath + "/data/gta3.zon"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user