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 | ThreeGppAntennaSetupChangedTest |
Test case for the ThreeGppChannelModel class. More... | |
class | ThreeGppCalcLongTermMultiPortTest |
Test case that test the correct use of the multi-port antennas in spectrum. 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 | ThreeGppMimoPolarizationTest |
This test tests that the channel matrix is correctly generated when dual-polarized antennas are being used at TX and RX. 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 37 of file spectrum-test.h.
Referenced by LteSpectrumModelTestCase::DoRun(), and SpectrumValueTestCase::DoRun().
#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 102 of file spectrum-test.h.
Referenced by LteDownlinkCtrlSinrTestCase::DoRun(), LteDownlinkDataSinrTestCase::DoRun(), LteDownlinkPowerControlSpectrumValueTestCase::DoRun(), LteNoisePsdTestCase::DoRun(), LteTxPsdTestCase::DoRun(), LteUplinkDataSinrTestCase::DoRun(), LteUplinkSrsSinrTestCase::DoRun(), and SpectrumValueTestCase::DoRun().