1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00
openrw/tests/test_Garage.cpp
Daniel Evans 23e21a3d58
Merge pull request #693 from danhedron/remove-nodata-build
Remove RW_TEST_WITH_DATA from test code
2019-01-22 03:16:40 +00:00

16 lines
405 B
C++

#include <boost/test/unit_test.hpp>
#include <engine/Garage.hpp>
#include "test_Globals.hpp"
BOOST_AUTO_TEST_SUITE(GarageTests, DATA_TEST_PREDICATE)
BOOST_AUTO_TEST_CASE(test_garage_interaction) {
{
auto garage = Global::get().e->createGarage(
{0.f, 0.f, 0.f}, {3.f, 3.f, 3.f}, GarageType::Respray);
BOOST_REQUIRE(garage != nullptr);
}
}
BOOST_AUTO_TEST_SUITE_END()