25 #include <ns3/okumura-hata-propagation-loss-model.h>
26 #include <ns3/string.h>
27 #include <ns3/double.h>
28 #include <ns3/constant-position-mobility-model.h>
43 virtual void DoRun (
void);
91 double loss = propagationLossModel->
GetLoss (mma, mmb);
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
EnvironmentType
The type of propagation environment.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
#define NS_LOG_INFO(msg)
Use NS_LOG to output a message of level LOG_INFO.
virtual ~OkumuraHataPropagationLossModelTestCase()
double GetLoss(Ptr< MobilityModel > a, Ptr< MobilityModel > b) const
void LogComponentEnable(char const *name, enum LogLevel level)
Enable the logging output associated with that log component.
Hold variables of type enum.
void AddTestCase(TestCase *testCase, enum TestDuration duration)
Add an individual child TestCase to this test suite.
virtual void DoRun(void)
Implementation to actually run this TestCase.
OkumuraHataPropagationLossModelTestCase(double freq, double dist, double hb, double hm, EnvironmentType env, CitySize city, double refValue, std::string name)
#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...
void SetPosition(const Vector &position)
static OkumuraHataPropagationLossModelTestSuite g_okumuraHataTestSuite
CitySize
The size of the city in which propagation takes place.
OkumuraHataPropagationLossModelTestSuite()
This class can be used to hold variables of floating point type such as 'double' or 'float'...
void SetAttribute(std::string name, const AttributeValue &value)
Set a single attribute, raising fatal errors if unsuccessful.