A Discrete-Event Network Simulator
API
rand-cart-around-geo-test.cc File Reference
#include <ns3/test.h>
#include <ns3/log.h>
#include <cmath>
#include <ns3/geographic-positions.h>
+ Include dependency graph for rand-cart-around-geo-test.cc:

Go to the source code of this file.

Classes

class  RandCartAroundGeoTestCase
 Rand Cart Around Geo Test Case. More...
 
class  RandCartAroundGeoTestSuite
 Rand Cart Around Geo Test Suite. More...
 

Variables

static const double EARTH_RADIUS = 6371e3
 earth's radius in meters if modeled as a perfect sphere More...
 
static RandCartAroundGeoTestSuite g_RandCartAroundGeoTestSuite
 the test suite More...
 
const double TOLERANCE = 0.1
 0.1 meter tolerance for testing, which is very small compared to the maximum distances from origin being tested More...
 

Variable Documentation

◆ EARTH_RADIUS

const double EARTH_RADIUS = 6371e3
static

earth's radius in meters if modeled as a perfect sphere

Definition at line 56 of file rand-cart-around-geo-test.cc.

Referenced by RandCartAroundGeoTestCase::DoRun().

◆ g_RandCartAroundGeoTestSuite

RandCartAroundGeoTestSuite g_RandCartAroundGeoTestSuite
static

the test suite

Definition at line 207 of file rand-cart-around-geo-test.cc.

◆ TOLERANCE

const double TOLERANCE = 0.1

0.1 meter tolerance for testing, which is very small compared to the maximum distances from origin being tested

Definition at line 53 of file rand-cart-around-geo-test.cc.

Referenced by RandCartAroundGeoTestCase::DoRun().