Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Classes | Macros | Typedefs | Functions
test_lfringbuffer12.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_lfringbuffer12.cpp:

Go to the source code of this file.

Classes

class  Integer
 
class  TestRingbuffer12
 

Macros

#define CATCH_CONFIG_MAIN
 

Typedefs

typedef jau::snsize_t IntegralType
 
typedef Integer TrivialType
 
typedef ringbuffer< TrivialType, TrivialType, jau::nsize_tTrivialTypeRingbuffer
 

Functions

static const TrivialType TrivialTypeNullElem (-1)
 
 METHOD_AS_TEST_CASE (TestRingbuffer12::test_sequential, "Test TestRingbuffer 12- test_sequential")
 
 METHOD_AS_TEST_CASE (TestRingbuffer12::test_range, "Test TestRingbuffer 12- test_range")
 

Macro Definition Documentation

◆ CATCH_CONFIG_MAIN

#define CATCH_CONFIG_MAIN

Definition at line 33 of file test_lfringbuffer12.cpp.

Typedef Documentation

◆ IntegralType

Definition at line 40 of file test_lfringbuffer12.cpp.

◆ TrivialType

Definition at line 62 of file test_lfringbuffer12.cpp.

◆ TrivialTypeRingbuffer

Definition at line 64 of file test_lfringbuffer12.cpp.

Function Documentation

◆ METHOD_AS_TEST_CASE() [1/2]

METHOD_AS_TEST_CASE ( TestRingbuffer12::test_range  ,
"Test TestRingbuffer 12- test_range"   
)

◆ METHOD_AS_TEST_CASE() [2/2]

METHOD_AS_TEST_CASE ( TestRingbuffer12::test_sequential  ,
"Test TestRingbuffer 12- test_sequential"   
)

◆ TrivialTypeNullElem()

static const TrivialType TrivialTypeNullElem ( 1)
static