26 #include "ns3/lte-spectrum-value-helper.h"
43 virtual void DoRun (
void);
61 double f = LteSpectrumValueHelper::GetCarrierFrequency (
m_earfcn);
71 virtual void DoRun (
void);
86 double f = LteSpectrumValueHelper::GetDownlinkCarrierFrequency (
m_earfcn);
97 virtual void DoRun (
void);
108 double f = LteSpectrumValueHelper::GetUplinkCarrierFrequency (
m_earfcn);
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
virtual ~LteEarfcnTestCase()
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
virtual void DoRun(void)
Implementation to actually run this TestCase.
Test the calculation of carrier frequency based on EARFCN.
static LteEarfcnTestSuite g_lteEarfcnTestSuite
void AddTestCase(TestCase *testCase, enum TestDuration duration)
Add an individual child TestCase to this test suite.
LteEarfcnTestCase(const char *str, uint16_t earfcn, double f)
#define NS_TEST_ASSERT_MSG_EQ_TOL(actual, limit, tol, msg)
Test that actual and expected (limit) values are equal to plus or minus some tolerance and report and...
double f(double x, void *params)
LteEarfcnDlTestCase(const char *str, uint16_t earfcn, double f)
virtual void DoRun(void)
Implementation to actually run this TestCase.
LteEarfcnUlTestCase(const char *str, uint16_t earfcn, double f)
virtual void DoRun(void)
Implementation to actually run this TestCase.