A Discrete-Event Network Simulator
API
test.cc File Reference

Implementation of the testing classes and functions. More...

#include "test.h"
#include "assert.h"
#include "abort.h"
#include "singleton.h"
#include "system-path.h"
#include "log.h"
#include "des-metrics.h"
#include <cmath>
#include <cstring>
#include <vector>
#include <list>
#include <map>
+ Include dependency graph for test.cc:

Go to the source code of this file.

Classes

struct  ns3::Indent
 Helper to indent output a specified number of steps. More...
 
struct  ns3::TestCase::Result
 Container for results from a TestCase. More...
 
struct  ns3::TestCaseFailure
 Container for details of a test failure. More...
 
class  ns3::TestRunnerImpl
 Container for all tests. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

std::ostream & ns3::operator<< (std::ostream &os, const TestCaseFailure &failure)
 Output streamer for TestCaseFailure. More...
 
std::ostream & ns3::operator<< (std::ostream &os, const Indent &val)
 Output streamer for Indent. More...
 
bool ns3::TestDoubleIsEqual (const double a, const double b, const double epsilon=std::numeric_limits< double >::epsilon())
 Compare two double precision floating point numbers and declare them equal if they are within some epsilon of each other. More...
 

Detailed Description

Implementation of the testing classes and functions.

Definition in file test.cc.