ADD: Fixed bug in unpacking a simtrack message
This commit is contained in:
@@ -88,10 +88,11 @@ SCENARIO("Testing the SimCore Track")
|
||||
REQUIRE(track.getEmission(emi1.getID()).get()->getID() == idEmi);
|
||||
|
||||
REQUIRE(msg.get()->msgType_ == WHISPER::SIM_TRACK);
|
||||
REQUIRE(trackPtr->Speed.getValue() == speed);
|
||||
REQUIRE(trackPtr->Speed.getValue() == speed);
|
||||
REQUIRE(trackPtr->getPosition().getGeocentricPos() == GeocentPos1);
|
||||
|
||||
REQUIRE(trackDeserialized.getEmission(emi1.getID()).get()->getID() == idEmi);
|
||||
REQUIRE(trackDeserialized.Name.getValue() == "TEST");
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user