ADD: added tests
This commit is contained in:
@@ -215,7 +215,10 @@ SCENARIO("Testing the SimCore SensorManager with local sensors")
|
||||
std::string tracklist1 = SensorManager_->getTracklistStringBySensor();
|
||||
std::string tracklist2 = SensorManager_->getTracklistStringFusioned();
|
||||
|
||||
LOG_S(INFO)<<tracklist2;
|
||||
LOG_S(INFO)<<tracklist1;
|
||||
|
||||
|
||||
|
||||
|
||||
THEN("check if Track attributes are correct")
|
||||
{
|
||||
@@ -234,6 +237,11 @@ SCENARIO("Testing the SimCore SensorManager with local sensors")
|
||||
REQUIRE( j2.size() == 8);
|
||||
|
||||
REQUIRE(SensorManager_->getSensorCount() == 4);
|
||||
|
||||
|
||||
REQUIRE(SensorManager_->getTrackListUpdateRaw()->getSensors().size() == 4);
|
||||
REQUIRE(SensorManager_->getTrackListUpdateRaw()->getSensors().at(0).getTracksCount() == 3);
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user