26 #include "ns3/lte-spectrum-value-helper.h"
43 virtual void DoRun (
void);
46 LteEarfcnTestCase::LteEarfcnTestCase (
const char* str, uint16_t earfcn,
double f)
54 LteEarfcnTestCase::~LteEarfcnTestCase ()
62 NS_TEST_ASSERT_MSG_EQ_TOL (f, m_f, 0.0000001,
"wrong frequency");
71 virtual void DoRun (
void);
74 LteEarfcnDlTestCase::LteEarfcnDlTestCase (
const char* str, uint16_t earfcn,
double f)
87 NS_TEST_ASSERT_MSG_EQ_TOL (f, m_f, 0.0000001,
"wrong frequency");
97 virtual void DoRun (
void);
100 LteEarfcnUlTestCase::LteEarfcnUlTestCase (
const char* str, uint16_t earfcn,
double f)
109 NS_TEST_ASSERT_MSG_EQ_TOL (f, m_f, 0.0000001,
"wrong frequency");
124 LteEarfcnTestSuite::LteEarfcnTestSuite ()
#define NS_LOG_FUNCTION(parameters)
virtual void DoRun(void)
Implementation to actually run this test case.
#define NS_LOG_COMPONENT_DEFINE(name)
static double GetCarrierFrequency(uint16_t earfcn)
static double GetDownlinkCarrierFrequency(uint16_t earfcn)
static double GetUplinkCarrierFrequency(uint16_t earfcn)
virtual void DoRun(void)
Implementation to actually run this test case.
void AddTestCase(TestCase *testCase) NS_DEPRECATED
Add an individual test case to this test suite.
virtual void DoRun(void)
Implementation to actually run this test case.