ADD: updated tests
This commit is contained in:
@@ -19,11 +19,11 @@ class Ship : public Entities::Entity
|
||||
Ship(SimCore::Identifier OwnID,
|
||||
std::string EntityName,
|
||||
WHISPER::SourceType ownType,
|
||||
SimCore::EntityKind EntityKind,
|
||||
SimCore::Kind::EntityKind EntityKind,
|
||||
std::uint32_t GroundTruthPort,
|
||||
std::uint32_t CommandPort
|
||||
ushort CommandPort
|
||||
):
|
||||
Entity( OwnID,EntityName,ownType, EntityKind, GroundTruthPort, CommandPort,false)
|
||||
Entity( OwnID,EntityName,ownType, EntityKind,SimCore::Side::EntitySide::FRIEND, "127.0.0.1",GroundTruthPort, CommandPort,false)
|
||||
{
|
||||
SimCore::Position pos1;
|
||||
pos1.setGeodesicPos(55, 6, 0);
|
||||
@@ -59,7 +59,7 @@ SCENARIO("Testing the SimCore Sensor")
|
||||
GIVEN("different Attributes for a Track in different forms")
|
||||
{
|
||||
SimCore::Identifier ID1;
|
||||
Ship Ship(ID1,"FGSHamburg",WHISPER::SourceType::ENTITY,SimCore::EntityKind::SURFACE,8000,8001);
|
||||
Ship Ship(ID1,"FGSHamburg",WHISPER::SourceType::ENTITY,SimCore::Kind::EntityKind::SURFACE,8000,8001);
|
||||
Ship.start();
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10000));
|
||||
Ship.stop();
|
||||
|
||||
Reference in New Issue
Block a user