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

Go to the source code of this file.

Classes

class  Integer
 
class  TestRingbuffer13
 

Macros

#define CATCH_CONFIG_MAIN
 

Typedefs

typedef jau::snsize_t IntegralType
 
typedef std::shared_ptr< IntegerSharedType
 
typedef ringbuffer< SharedType, std::nullptr_t, jau::nsize_tSharedTypeRingbuffer
 

Functions

 METHOD_AS_TEST_CASE (TestRingbuffer13::test_sequential, "Test TestRingbuffer 13- test_sequential")
 
 METHOD_AS_TEST_CASE (TestRingbuffer13::test_range, "Test TestRingbuffer 13- test_range")
 

Variables

std::shared_ptr< IntegerNullInteger = nullptr
 
constexpr const std::nullptr_t SharedTypeNullElem = nullptr
 

Macro Definition Documentation

◆ CATCH_CONFIG_MAIN

#define CATCH_CONFIG_MAIN

Definition at line 33 of file test_lfringbuffer13.cpp.

Typedef Documentation

◆ IntegralType

Definition at line 40 of file test_lfringbuffer13.cpp.

◆ SharedType

typedef std::shared_ptr<Integer> SharedType

Definition at line 62 of file test_lfringbuffer13.cpp.

◆ SharedTypeRingbuffer

Definition at line 64 of file test_lfringbuffer13.cpp.

Function Documentation

◆ METHOD_AS_TEST_CASE() [1/2]

METHOD_AS_TEST_CASE ( TestRingbuffer13::test_range  ,
"Test TestRingbuffer 13- test_range"   
)

◆ METHOD_AS_TEST_CASE() [2/2]

METHOD_AS_TEST_CASE ( TestRingbuffer13::test_sequential  ,
"Test TestRingbuffer 13- test_sequential"   
)

Variable Documentation

◆ NullInteger

std::shared_ptr<Integer> NullInteger = nullptr

Definition at line 60 of file test_lfringbuffer13.cpp.

◆ SharedTypeNullElem

constexpr const std::nullptr_t SharedTypeNullElem = nullptr
constexpr

Definition at line 63 of file test_lfringbuffer13.cpp.