23 #include <ns3/isotropic-antenna-model.h> 34 static std::string BuildNameString (
Angles a);
39 virtual void DoRun (
void);
47 std::ostringstream oss;
56 m_expectedGain (expectedGainDb)
78 :
TestSuite (
"isotropic-antenna-model", UNIT)
Smart pointer class similar to boost::intrusive_ptr.
Class holding the azimuth and inclination angles of spherical coordinates.
void AddTestCase(TestCase *testCase, TestDuration duration=QUICK)
Add an individual child TestCase to this test suite.
double GetAzimuth(void) const
Getter for azimuth angle.
IsotropicAntennaModelTestSuite()
#define NS_TEST_EXPECT_MSG_EQ_TOL(actual, limit, tol, msg)
Test that actual and expected (limit) values are equal to plus or minus some tolerance and report if ...
static IsotropicAntennaModelTestSuite staticIsotropicAntennaModelTestSuiteInstance
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static std::string BuildNameString(Angles a)
virtual double GetGainDb(Angles a)
this method is expected to be re-implemented by each antenna model
IsotropicAntennaModelTestCase(Angles a, double expectedGainDb)
double GetInclination(void) const
Getter for inclination angle.
virtual void DoRun(void)
Implementation to actually run this TestCase.