Trickle Timer test suite. More...
#include "ns3/test.h"
#include "ns3/trickle-timer.h"
#include <algorithm>
#include <numeric>
#include <vector>
Go to the source code of this file.
Classes | |
class | ns3::tests::TrickleTimerTestCase |
TrickleTimer test. More... | |
class | ns3::tests::TrickleTimerTestSuite |
Trickle Timer test suite. More... | |
Namespaces | |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
namespace | ns3::tests |
Namespace for test files, TestCases and TestSuites. | |
Variables | |
static TrickleTimerTestSuite | ns3::tests::g_trickleTimerTestSuite |
TrickleTimerTestSuite instance variable. | |
Trickle Timer test suite.
This test checks that the timer, in steady-state mode (i.e., after the transient period) have a frequency between [I/2, I + I/2].
The test also checks that the redundancy works, i.e., if the timer receives enough "consistent" events it will suppress its output.
Definition in file trickle-timer-test-suite.cc.