#include <buildings-shadowing-test.h>
Public Member Functions | |
BuildingsShadowingTestCase (uint16_t m1, uint16_t m2, double refValue, double sigmaRef, std::string name) | |
virtual | ~BuildingsShadowingTestCase () |
![]() | |
virtual | ~TestCase () |
Private Member Functions | |
Ptr< MobilityModel > | CreateMobilityModel (uint16_t index) |
virtual void | DoRun (void) |
Private Attributes | |
double | m_lossRef |
uint16_t | m_mobilityModelIndex1 |
uint16_t | m_mobilityModelIndex2 |
double | m_sigmaRef |
Additional Inherited Members | |
![]() | |
enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
How long the test takes to execute. More... | |
![]() | |
TestCase (std::string name) | |
void | AddTestCase (TestCase *testCase) NS_DEPRECATED |
Add an individual test case to this test suite. | |
void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
Add an individual test case to this test suite. | |
std::string | CreateDataDirFilename (std::string filename) |
std::string | CreateTempDirFilename (std::string filename) |
bool | GetErrorStatus (void) const NS_DEPRECATED |
std::string | GetName (void) const |
bool | IsStatusFailure (void) const |
bool | IsStatusSuccess (void) const |
bool | MustAssertOnFailure (void) const |
bool | MustContinueOnFailure (void) const |
void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
void | SetDataDir (std::string directory) |
Definition at line 42 of file buildings-shadowing-test.h.
ns3::BuildingsShadowingTestCase::BuildingsShadowingTestCase | ( | uint16_t | m1, |
uint16_t | m2, | ||
double | refValue, | ||
double | sigmaRef, | ||
std::string | name | ||
) |
Definition at line 74 of file buildings-shadowing-test.cc.
|
virtual |
Definition at line 83 of file buildings-shadowing-test.cc.
|
private |
Definition at line 128 of file buildings-shadowing-test.cc.
References ns3::BuildingsHelper::MakeConsistent(), and ns3::MobilityModel::SetPosition().
Referenced by DoRun().
|
privatevirtual |
Definition at line 88 of file buildings-shadowing-test.cc.
References ns3::Building::ConcreteWithWindows, CreateMobilityModel(), ns3::Simulator::Destroy(), m_lossRef, m_mobilityModelIndex1, m_mobilityModelIndex2, m_sigmaRef, NS_LOG_FUNCTION, NS_LOG_INFO, NS_TEST_ASSERT_MSG_EQ_TOL, ns3::Building::Residential, ns3::Building::SetBoundaries(), ns3::Building::SetBuildingType(), ns3::Building::SetExtWallsType(), and ns3::Building::SetNFloors().
|
private |
Definition at line 54 of file buildings-shadowing-test.h.
Referenced by DoRun().
|
private |
Definition at line 52 of file buildings-shadowing-test.h.
Referenced by DoRun().
|
private |
Definition at line 53 of file buildings-shadowing-test.h.
Referenced by DoRun().
|
private |
Definition at line 55 of file buildings-shadowing-test.h.
Referenced by DoRun().