23 #include <ns3/antenna-model.h>
44 static std::string BuildNameString (Vector v);
53 virtual void DoRun (
void);
61 std::ostringstream oss;
107 virtual void DoRun (
void);
116 std::ostringstream oss;
117 oss <<
" v = " << v <<
", o = " << o;
123 :
TestCase (BuildNameString (v, o)),
Angles Test using one vector for initialization.
virtual void DoRun(void)
Implementation to actually run this TestCase.
OneVectorConstructorTestCase(Vector v, Angles a)
Constructor.
static std::string BuildNameString(Vector v)
Build the test name.
Angles Test using two vectors for initialization.
TwoVectorsConstructorTestCase(Vector v, Vector o, Angles a)
Constructor.
virtual void DoRun(void)
Implementation to actually run this TestCase.
static std::string BuildNameString(Vector v, Vector o)
Build the test name.
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.
void AddTestCase(TestCase *testCase, TestDuration duration=QUICK)
Add an individual child TestCase to this test suite.
Vector3D Vector
Vector alias typedef for compatibility with mobility models.
#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 AnglesTestSuite g_staticAnglesTestSuiteInstance
Static variable for test initialization.