Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Typedefs | Functions | Variables
test_lfringbuffer11.cpp File Reference
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <memory>
#include <thread>
#include <pthread.h>
#include <jau/test/catch2_ext.hpp>
#include <jau/ringbuffer.hpp>
Include dependency graph for test_lfringbuffer11.cpp:

Go to the source code of this file.

Classes

class  TestRingbuffer11
 

Typedefs

typedef uint8_t IntegralType
 
typedef uint8_t TrivialType
 
typedef ringbuffer< TrivialType, jau::nsize_tTrivialTypeRingbuffer
 

Functions

 METHOD_AS_TEST_CASE (TestRingbuffer11::test_range, "Test TestRingbuffer 11- test_range")
 
 METHOD_AS_TEST_CASE (TestRingbuffer11::test_sequential, "Test TestRingbuffer 11- test_sequential")
 
constexpr const TrivialType TrivialTypeNullElem (0xff)
 

Variables

static constexpr const IntegralType integral_modulus = 254
 

Typedef Documentation

◆ IntegralType

typedef uint8_t IntegralType
Examples
test_lfringbuffer11.cpp.

Definition at line 38 of file test_lfringbuffer11.cpp.

◆ TrivialType

typedef uint8_t TrivialType
Examples
test_lfringbuffer11.cpp.

Definition at line 39 of file test_lfringbuffer11.cpp.

◆ TrivialTypeRingbuffer

Examples
test_lfringbuffer11.cpp.

Definition at line 41 of file test_lfringbuffer11.cpp.

Function Documentation

◆ TrivialTypeNullElem()

constexpr const TrivialType TrivialTypeNullElem ( 0xff  )
constexpr

◆ METHOD_AS_TEST_CASE() [1/2]

METHOD_AS_TEST_CASE ( TestRingbuffer11::test_sequential  ,
"Test TestRingbuffer 11- test_sequential"   
)

◆ METHOD_AS_TEST_CASE() [2/2]

METHOD_AS_TEST_CASE ( TestRingbuffer11::test_range  ,
"Test TestRingbuffer 11- test_range"   
)

Variable Documentation

◆ integral_modulus

constexpr const IntegralType integral_modulus = 254
staticconstexpr
Examples
test_lfringbuffer11.cpp.

Definition at line 43 of file test_lfringbuffer11.cpp.