25 #include <ns3/itu-r-1411-nlos-over-rooftop-propagation-loss-model.h> 
   26 #include <ns3/string.h> 
   27 #include <ns3/double.h> 
   28 #include <ns3/constant-position-mobility-model.h> 
   44   virtual void DoRun (
void);
 
   57 ItuR1411NlosOverRooftopPropagationLossModelTestCase::ItuR1411NlosOverRooftopPropagationLossModelTestCase (
double freq, 
double dist, 
double hb, 
double hm, 
EnvironmentType env, 
CitySize city, 
double refValue, std::string name)
 
   69 ItuR1411NlosOverRooftopPropagationLossModelTestCase::~ItuR1411NlosOverRooftopPropagationLossModelTestCase ()
 
   88   propagationLossModel->SetAttribute (
"Frequency", 
DoubleValue (m_freq));
 
   89   propagationLossModel->SetAttribute (
"Environment", 
EnumValue (m_env));
 
   90   propagationLossModel->SetAttribute (
"CitySize", 
EnumValue (m_city));
 
   92   double loss = propagationLossModel->GetLoss (mma, mmb);
 
   97   NS_TEST_ASSERT_MSG_EQ_TOL (loss, m_lossRef, 0.1, 
"Wrong loss!");
 
  111 ItuR1411NlosOverRooftopPropagationLossModelTestSuite::ItuR1411NlosOverRooftopPropagationLossModelTestSuite ()
 
  112   : 
TestSuite (
"itu-r-1411-nlos-over-rooftop", SYSTEM)
 
  115   LogComponentEnable (
"ItuR1411NlosOverRooftopPropagationLossModelTest", LOG_LEVEL_ALL);
 
  119   AddTestCase (
new ItuR1411NlosOverRooftopPropagationLossModelTestCase (2.1140e9, 900, 30, 1, UrbanEnvironment, LargeCity, 143.68, 
"f=2114Mhz, dist=900, urban large city"), TestCase::QUICK);
 
  121   AddTestCase (
new ItuR1411NlosOverRooftopPropagationLossModelTestCase (1.865e9, 500, 30, 1, UrbanEnvironment, LargeCity,  132.84, 
"f=2114Mhz, dist=900, urban large city"), TestCase::QUICK);
 
  127 static ItuR1411NlosOverRooftopPropagationLossModelTestSuite g_ituR1411NlosOverRooftopTestSuite;
 
virtual void DoRun(void)
Implementation to actually run this test case. 
#define NS_LOG_FUNCTION(parameters)
#define NS_LOG_COMPONENT_DEFINE(name)
hold variables of type 'enum' 
void AddTestCase(TestCase *testCase) NS_DEPRECATED
Add an individual test case to this test suite. 
void SetPosition(const Vector &position)
Hold an floating point type. 
void LogComponentEnable(char const *name, enum LogLevel level)