ADD: added tracklist update and systemstate update messages with tests and some improvements of simtrack
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
#include <thread>
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
@@ -24,7 +25,8 @@ SCENARIO("Testing the SimCore Sensor")
|
||||
THEN("check if Track attributes are correct")
|
||||
{
|
||||
REQUIRE(Name.getValue() == "hello world");
|
||||
REQUIRE(Name.getValidity() == true);
|
||||
REQUIRE(Name.isValid() == true);
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
REQUIRE(Name.getWriteTime() < std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count());
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user