A Discrete-Event Network Simulator
API
ns2-mobility-helper-test-suite.cc File Reference
#include "ns3/config.h"
#include "ns3/constant-velocity-mobility-model.h"
#include "ns3/log.h"
#include "ns3/names.h"
#include "ns3/node-container.h"
#include "ns3/node-list.h"
#include "ns3/node.h"
#include "ns3/ns2-mobility-helper.h"
#include "ns3/simulator.h"
#include "ns3/test.h"
#include <algorithm>
+ Include dependency graph for ns2-mobility-helper-test-suite.cc:

Go to the source code of this file.

Classes

class  Ns2MobilityHelperTest
 Every test case is supposed to: More...
 
class  Ns2MobilityHelperTestSuite
 The test suite. More...
 
struct  Ns2MobilityHelperTest::ReferencePoint
 Single record in mobility reference. More...
 

Functions

bool AreVectorsEqual (const Vector &actual, const Vector &limit, double tol)
 

Variables

Ns2MobilityHelperTestSuite g_ns2TransmobilityHelperTestSuite
 the test suite More...
 

Function Documentation

◆ AreVectorsEqual()

bool AreVectorsEqual ( const Vector actual,
const Vector limit,
double  tol 
)

Definition at line 60 of file ns2-mobility-helper-test-suite.cc.

Referenced by Ns2MobilityHelperTest::CheckInitialPositions(), and Ns2MobilityHelperTest::CourseChange().

+ Here is the caller graph for this function: