A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
rand-cart-around-geo-test.cc File Reference
#include <ns3/geographic-positions.h>
#include <ns3/log.h>
#include <ns3/test.h>
#include <cmath>
+ 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
 
static RandCartAroundGeoTestSuite g_RandCartAroundGeoTestSuite
 Static variable for test initialization.
 
const double TOLERANCE = 0.1
 0.1 meter tolerance for testing, which is very small compared to the maximum distances from origin being tested
 

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().

◆ 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().