A Discrete-Event Network Simulator
API
buffer-test.cc File Reference
#include "ns3/buffer.h"
#include "ns3/random-variable-stream.h"
#include "ns3/double.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. More...
 

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 99 of file buffer-test.cc.

Variable Documentation

◆ g_bufferTestSuite

BufferTestSuite g_bufferTestSuite
static

Static variable for test initialization.

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