1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 18:32:44 +01:00
openrw/tests/test_Garage.cpp

16 lines
405 B
C++
Raw Normal View History

2018-05-31 22:38:47 +02:00
#include <boost/test/unit_test.hpp>
#include <engine/Garage.hpp>
#include "test_Globals.hpp"
BOOST_AUTO_TEST_SUITE(GarageTests, DATA_TEST_PREDICATE)
2018-05-31 22:38:47 +02:00
BOOST_AUTO_TEST_CASE(test_garage_interaction) {
{
auto garage = Global::get().e->createGarage(
2018-12-10 01:51:05 +01:00
{0.f, 0.f, 0.f}, {3.f, 3.f, 3.f}, GarageType::Respray);
2018-05-31 22:38:47 +02:00
BOOST_REQUIRE(garage != nullptr);
}
}
BOOST_AUTO_TEST_SUITE_END()