--- a/src/lte/test/lte-test-downlink-sinr.cc Tue Nov 29 13:04:31 2011 +0100
+++ b/src/lte/test/lte-test-downlink-sinr.cc Tue Nov 29 13:14:11 2011 +0100
@@ -252,7 +252,6 @@
Simulator::Stop (Seconds (5.0));
Simulator::Run ();
- Simulator::Destroy ();
/**
* Check that the values passed to LteSinrChunkProcessor::EvaluateSinrChunk () correspond
@@ -264,4 +263,6 @@
NS_LOG_INFO ("Calculated SINR: " << calculatedSinr);
NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL(calculatedSinr, *m_sinr, 0.0000001, "Wrong SINR !");
+ dlPhy->Dispose ();
+ Simulator::Destroy ();
}
--- a/src/lte/test/lte-test-uplink-sinr.cc Tue Nov 29 13:04:31 2011 +0100
+++ b/src/lte/test/lte-test-uplink-sinr.cc Tue Nov 29 13:14:11 2011 +0100
@@ -292,7 +292,6 @@
Simulator::Stop (Seconds (5.0));
Simulator::Run ();
- Simulator::Destroy ();
/**
* Check that the values passed to LteSinrChunkProcessor::EvaluateSinrChunk () correspond
@@ -304,4 +303,7 @@
NS_LOG_INFO ("Calculated SINR: " << calculatedSinr);
NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL (calculatedSinr, *m_sinr, 0.0000001, "Wrong SINR !");
+ ulPhy->Dispose ();
+ Simulator::Destroy ();
+
}