Collaboration diagram for Spectrum Models tests:Classes | |
| class | ArrayResponseTest |
| Test case for the TwoRaySpectrumPropagationLossModel class. More... | |
| struct | CheckLongTermUpdateParams |
| A structure that holds the parameters for the function CheckLongTermUpdate. More... | |
| class | FtrFadingModelAverageTest |
| Test case for the TwoRaySpectrumPropagationLossModel class. More... | |
| class | OverallGainAverageTest |
| Test case for the TwoRaySpectrumPropagationLossModel class. More... | |
| class | SpectrumConverterTestSuite |
| Spectrum Converter TestSuite. More... | |
| class | SpectrumIdealPhyTestCase |
| Ideal Spectrum PHY Test. More... | |
| class | SpectrumIdealPhyTestSuite |
| Ideal Spectrum PHY TestSuite. More... | |
| class | SpectrumInterferenceTestCase |
| Spectrum Interference Test. More... | |
| class | SpectrumInterferenceTestSuite |
| Spectrum Interference TestSuite. More... | |
| class | SpectrumValueTestCase |
| Spectrum Value Test. More... | |
| class | SpectrumValueTestSuite |
| Spectrum Value TestSuite. More... | |
| class | ThreeGppChannelMatrixComputationTest |
| Test case for the ThreeGppChannelModel class. More... | |
| class | ThreeGppChannelMatrixUpdateTest |
| Test case for the ThreeGppChannelModel class. More... | |
| class | ThreeGppChannelTestSuite |
| Test suite for the ThreeGppChannelModel class. More... | |
| class | ThreeGppSpectrumPropagationLossModelTest |
| Test case for the ThreeGppSpectrumPropagationLossModelTest class. More... | |
| class | TvHelperDistributionTestCase |
| This test verifies the accuracy of the private GetRandomNumTransmitters() method in the TvSpectrumTransmitterHelper class. More... | |
| class | TvHelperDistributionTestSuite |
| Test suite for the TvSpectrumTransmitterHelper class. More... | |
| class | TvSpectrumTransmitterTestCase |
| This test verifies the accuracy of the spectrum/PSD model in the TvSpectrumTransmitter class. More... | |
| class | TvSpectrumTransmitterTestSuite |
| Test suite for the TvSpectrumTransmitter class. More... | |
| class | TwoRaySplmTestSuite |
| Test suite for the TwoRaySpectrumPropagationLossModel class. More... | |
| class | WaveformGeneratorTestCase |
| Waveform generator Test. More... | |
| class | WaveformGeneratorTestSuite |
| Waveform generator TestSuite. More... | |
Macros | |
| #define | NS_TEST_ASSERT_MSG_SPECTRUM_MODEL_EQ_TOL(actual, expected, tol, msg) |
| Test if two SpectrumModel instances are equal within a given tolerance. | |
| #define | NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL(actual, expected, tol, msg) |
| Test if two SpectrumValue instances are equal within a given tolerance. | |
| #define NS_TEST_ASSERT_MSG_SPECTRUM_MODEL_EQ_TOL | ( | actual, | |
| expected, | |||
| tol, | |||
| msg | |||
| ) |
Test if two SpectrumModel instances are equal within a given tolerance.
This test compares component-by-component the two SpectrumModel instances; if any pair of components differs by more than the given tolerance, the test fails.
| actual | the actual value obtained by the simulator |
| expected | the expected value obtained by off-line calculations |
| tol | the tolerance |
| msg | the message to print if the test fails |
Definition at line 48 of file spectrum-test.h.
| #define NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL | ( | actual, | |
| expected, | |||
| tol, | |||
| msg | |||
| ) |
Test if two SpectrumValue instances are equal within a given tolerance.
This test compares component-by-component the two SpectrumValue instances; if any pair of components differs by more than the given tolerance, the test fails.
| actual | the actual value obtained by the simulator |
| expected | the expected value obtained by off-line calculations |
| tol | the tolerance |
| msg | the message to print if the test fails |
Definition at line 113 of file spectrum-test.h.