Skip to content

Commit

Permalink
update unit test since parameter name changed
Browse files Browse the repository at this point in the history
  • Loading branch information
chengyuan0124 committed Nov 25, 2024
1 parent de75f05 commit c43960e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ns3_adapter/test/test_ns3_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ TEST(NS3AdapterTest, testcompose_handshake_msg)
char* argv[] {c[0], c[1]};
NS3Adapter worker(argc,argv);
std::string result = worker.compose_handshake_msg("default_id", "ego1", 2000, 2001, "127.0.0.1");
EXPECT_EQ(result, "{\"carmaVehicleId\":\"default_id\",\"carlaVehicleRole\":\"ego1\",\"rxMessageIpAddress\":\"127.0.0.1\",\"rxMessagePort\":2000,\"rxTimeSyncPort\":2001}");
EXPECT_EQ(result, "{\"vehicleId\":\"default_id\",\"vehicleRole\":\"ego1\",\"rxMessageIpAddress\":\"127.0.0.1\",\"rxMessagePort\":2000,\"rxTimeSyncPort\":2001}");
}

TEST(NS3Adapter, testNS3ClientSSM)
Expand Down

0 comments on commit c43960e

Please sign in to comment.