A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
buffer-test.cc File Reference
#include "ns3/buffer.h"
#include "ns3/double.h"
#include "ns3/random-variable-stream.h"
#include "ns3/test.h"
+ Include dependency graph for buffer-test.cc:

Go to the source code of this file.

Classes

class  BufferTest
 Buffer unit tests. More...
 
class  BufferTestSuite
 Buffer TestSuite. More...
 

Macros

#define ENSURE_WRITTEN_BYTES(buffer, n, ...)
 

Variables

static BufferTestSuite g_bufferTestSuite
 Static variable for test initialization.
 

Macro Definition Documentation

◆ ENSURE_WRITTEN_BYTES

#define ENSURE_WRITTEN_BYTES ( buffer,
n,
... )
Value:
{ \
uint8_t bytes[] = {__VA_ARGS__}; \
EnsureWrittenBytes(buffer, n, bytes); \
}

Definition at line 89 of file buffer-test.cc.

Referenced by BufferTest::DoRun().

Variable Documentation

◆ g_bufferTestSuite

BufferTestSuite g_bufferTestSuite
static

Static variable for test initialization.

Definition at line 405 of file buffer-test.cc.