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)
64 double actualGain = a->GetGainDb (
m_a);
78 :
TestSuite (
"isotropic-antenna-model", UNIT)
IsotropicAntennaModelTestCase(Angles a, double expectedGainDb)
static std::string BuildNameString(Angles a)
virtual void DoRun(void)
Implementation to actually run this TestCase.
IsotropicAntennaModelTestSuite()
Class holding the azimuth and inclination angles of spherical coordinates.
double GetInclination(void) const
Getter for inclination angle.
double GetAzimuth(void) const
Getter for azimuth angle.
Smart pointer class similar to boost::intrusive_ptr.
void AddTestCase(TestCase *testCase, TestDuration duration=QUICK)
Add an individual child TestCase to this test suite.
#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 ...
Every class exported by the ns3 library is enclosed in the ns3 namespace.
static IsotropicAntennaModelTestSuite staticIsotropicAntennaModelTestSuiteInstance