Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Macros | Typedefs | Functions | Variables
test_lfringbuffer11.cpp File Reference
#include <iostream>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <memory>
#include <thread>
#include <pthread.h>
#include <catch2/catch_amalgamated.hpp>
#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
 

Macros

#define CATCH_CONFIG_MAIN
 

Typedefs

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

Functions

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

Variables

constexpr static const IntegralType integral_modulus = 254
 

Macro Definition Documentation

◆ CATCH_CONFIG_MAIN

#define CATCH_CONFIG_MAIN

Definition at line 33 of file test_lfringbuffer11.cpp.

Typedef Documentation

◆ IntegralType

typedef uint8_t IntegralType
Examples
test_lfringbuffer11.cpp.

Definition at line 40 of file test_lfringbuffer11.cpp.

◆ TrivialType

typedef uint8_t TrivialType
Examples
test_lfringbuffer11.cpp.

Definition at line 41 of file test_lfringbuffer11.cpp.

◆ TrivialTypeRingbuffer

Examples
test_lfringbuffer11.cpp.

Definition at line 43 of file test_lfringbuffer11.cpp.

Function Documentation

◆ METHOD_AS_TEST_CASE() [1/2]

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

◆ METHOD_AS_TEST_CASE() [2/2]

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

◆ TrivialTypeNullElem()

constexpr const TrivialType TrivialTypeNullElem ( 0xff  )
constexpr

Variable Documentation

◆ integral_modulus

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

Definition at line 45 of file test_lfringbuffer11.cpp.