Direct-BT  2.3.1
Direct-BT - Direct Bluetooth Programming.
Macros | Functions
test_intdecstring01.cpp File Reference
#include <iostream>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <catch2/catch_amalgamated.hpp>
#include <jau/basic_types.hpp>
Include dependency graph for test_intdecstring01.cpp:

Go to the source code of this file.

Macros

#define CATCH_CONFIG_MAIN
 
#define SHOW_DECIMAL_STRING_STATS   0
 

Functions

static void test_int32_t (const std::string msg, const int32_t v, const size_t expStrLen, const std::string expStr)
 
static void test_uint32_t (const std::string msg, const uint32_t v, const size_t expStrLen, const std::string expStr)
 
static void test_uint64_t (const std::string msg, const uint64_t v, const size_t expStrLen, const std::string expStr)
 
 TEST_CASE ("Integer Decimal String Test 01", "[datatype][int_dec_string]")
 

Macro Definition Documentation

◆ CATCH_CONFIG_MAIN

#define CATCH_CONFIG_MAIN

Definition at line 30 of file test_intdecstring01.cpp.

◆ SHOW_DECIMAL_STRING_STATS

#define SHOW_DECIMAL_STRING_STATS   0

Definition at line 37 of file test_intdecstring01.cpp.

Function Documentation

◆ TEST_CASE()

TEST_CASE ( "Integer Decimal String Test 01"  ,
""  [datatype][int_dec_string] 
)
Examples
test_intdecstring01.cpp.

Definition at line 109 of file test_intdecstring01.cpp.

Here is the call graph for this function:

◆ test_int32_t()

static void test_int32_t ( const std::string  msg,
const int32_t  v,
const size_t  expStrLen,
const std::string  expStr 
)
static
Examples
test_intdecstring01.cpp.

Definition at line 74 of file test_intdecstring01.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_uint32_t()

static void test_uint32_t ( const std::string  msg,
const uint32_t  v,
const size_t  expStrLen,
const std::string  expStr 
)
static
Examples
test_intdecstring01.cpp.

Definition at line 85 of file test_intdecstring01.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_uint64_t()

static void test_uint64_t ( const std::string  msg,
const uint64_t  v,
const size_t  expStrLen,
const std::string  expStr 
)
static
Examples
test_intdecstring01.cpp.

Definition at line 97 of file test_intdecstring01.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: