A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
sequence-number-test-suite.cc File Reference
#include "ns3/object.h"
#include "ns3/sequence-number.h"
#include "ns3/test.h"
#include "ns3/trace-source-accessor.h"
#include "ns3/traced-value.h"
+ Include dependency graph for sequence-number-test-suite.cc:

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

namespace  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.
 

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,
b )   NS_TEST_ASSERT_MSG_EQ(a, b, "foo")

Variable Documentation

◆ g_seqNumTests

SequenceNumberTestSuite g_seqNumTests
static

Static variable for test initialization.

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