23 #include <ns3/antenna-model.h> 34 static std::string BuildNameString (
double a);
39 virtual void DoRun (
void);
47 std::ostringstream oss;
48 oss <<
"angle = " << a <<
" degrees";
77 virtual void DoRun (
void);
85 std::ostringstream oss;
86 oss <<
"angle = " << a <<
" degrees";
DegreesToRadiansTestCase(double a, double b)
static DegreesRadiansTestSuite staticDegreesRadiansTestSuiteInstance
double DegreesToRadians(double degrees)
converts degrees to radians
RadiansToDegreesTestCase(double a, double b)
virtual void DoRun(void)
Implementation to actually run this TestCase.
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 std::string BuildNameString(double a)
double RadiansToDegrees(double radians)
converts radians to degrees
static std::string BuildNameString(double a)
DegreesRadiansTestSuite()
virtual void DoRun(void)
Implementation to actually run this TestCase.