A Discrete-Event Network Simulator
API
Classes | Namespaces | Macros | Variables
sequence-number-test-suite.cc File Reference
#include "ns3/sequence-number.h"
#include "ns3/test.h"
#include "ns3/object.h"
#include "ns3/traced-value.h"
#include "ns3/trace-source-accessor.h"

Go to the source code of this file.

Classes

class  SequenceNumberTestCase
 Sequence Number Unit Test. More...
 
class  anonymous_namespace{sequence-number-test-suite.cc}::SequenceNumberTestObj
 Test object using sequence numbers. More...
 
class  SequenceNumberTestSuite
 Sequence Number TestSuite. More...
 

Namespaces

 anonymous_namespace{sequence-number-test-suite.cc}
 

Macros

#define SEQ_TEST_ASSERT(a)   NS_TEST_ASSERT_MSG_EQ (bool(a), true, "foo")
 
#define SEQ_TEST_ASSERT_EQUAL(a, b)   NS_TEST_ASSERT_MSG_EQ (a,b, "foo")
 

Variables

static SequenceNumberTestSuite g_seqNumTests
 Static variable for test initialization. More...
 

Macro Definition Documentation

◆ SEQ_TEST_ASSERT

#define SEQ_TEST_ASSERT (   a)    NS_TEST_ASSERT_MSG_EQ (bool(a), true, "foo")

◆ SEQ_TEST_ASSERT_EQUAL

#define SEQ_TEST_ASSERT_EQUAL (   a,
 
)    NS_TEST_ASSERT_MSG_EQ (a,b, "foo")

Variable Documentation

◆ g_seqNumTests

SequenceNumberTestSuite g_seqNumTests
static

Static variable for test initialization.

Definition at line 227 of file sequence-number-test-suite.cc.