wifi: Restore Simulator::Destroy () calls in the PARF unit test

This commit is contained in:
Tom Henderson
2016-09-28 21:43:51 -07:00
parent 86c24f29bd
commit 2078e54154

View File

@@ -330,6 +330,7 @@ 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::Destroy ();
}
void
@@ -565,6 +566,7 @@ 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::Destroy ();
}
void