142 mobility.SetMobilityModel(
"ns3::ConstantPositionMobilityModel");
146 mobility.Install(
nodes);
159 bmm->AggregateObject(buildingInfo);
164 NS_LOG_LOGIC(
" got bid=" << buildingInfo->GetBuilding()->GetId()
165 <<
", f=" << (
uint32_t)buildingInfo->GetFloorNumber()
166 <<
", rx=" << (
uint32_t)buildingInfo->GetRoomNumberX()
167 <<
", roomY=" << (
uint32_t)buildingInfo->GetRoomNumberY());
172 "floor number mismatch");
175 "x room number mismatch");
178 "y room number mismatch");
211 Vector vp1(1.5, 1.5, 0.5);
221 Vector vp2(1.5, 0.5, 0.5);
227 Vector vp3(1.5, 2.5, 0.5);
233 Vector vp4(1.5, 1.5, 5);
239 Vector vp5(2.5, 1.6, 3.5);
249 Vector vp6(0.9999, 1.5, 1.5);
255 Vector vp7(3.0001, 1.5, 2.5);
261 Vector vp8(1.001, 1.001, -0.01);
267 Vector vp9(1.5, 1.5, 4.001);
284 Vector vq1(-0.7, -1.1, 1.2);
294 Vector vq2(0.2, 0.3, 0.2);
304 Vector vq3(0.6, -1.75, 1.5);
310 Vector vq4(-1.01, 0.3, 1.99);
316 Vector vq5(-0.8, 0.7, 0.01);
322 Vector vq6(0.2, 0.3, -0.2);
328 Vector vq7(0.2, 0.3, 2.001);
#define NS_TEST_ASSERT_MSG_EQ(actual, limit, msg)
Test that an actual and expected (limit) value are equal and report and abort if not.