diff --git a/src/wifi/test/power-rate-adaptation-test.cc b/src/wifi/test/power-rate-adaptation-test.cc index f34569355..8b533f436 100644 --- a/src/wifi/test/power-rate-adaptation-test.cc +++ b/src/wifi/test/power-rate-adaptation-test.cc @@ -330,11 +330,6 @@ PowerRateAdaptationTest::TestParf () NS_TEST_ASSERT_MSG_EQ (mode.GetDataRate (txVector.GetChannelWidth (), txVector.IsShortGuardInterval (), 1), 54000000, "PARF: Incorrect vale of data rate"); NS_TEST_ASSERT_MSG_EQ (power, 17, "PARF: Incorrect value of power level"); - Simulator::Stop (Seconds (10.0)); - - Simulator::Run (); - Simulator::Destroy (); - } void @@ -570,11 +565,6 @@ PowerRateAdaptationTest::TestAparf () NS_TEST_ASSERT_MSG_EQ (mode.GetDataRate (txVector.GetChannelWidth (), txVector.IsShortGuardInterval (), 1), 54000000, "APARF: Incorrect vale of data rate"); NS_TEST_ASSERT_MSG_EQ (power, 17, "APARF: Incorrect value of power level"); - Simulator::Stop (Seconds (10.0)); - - Simulator::Run (); - Simulator::Destroy (); - } void