jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Macros | Functions
test_intdecstring01.cpp File Reference
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <jau/test/catch2_ext.hpp>
#include <jau/basic_types.hpp>
Include dependency graph for test_intdecstring01.cpp:

Go to the source code of this file.

Macros

#define SHOW_DECIMAL_STRING_STATS   0
 

Functions

 TEST_CASE ("Integer Decimal String Test 01", "[datatype][int_dec_string]")
 
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)
 

Macro Definition Documentation

◆ SHOW_DECIMAL_STRING_STATS

#define SHOW_DECIMAL_STRING_STATS   0

Definition at line 34 of file test_intdecstring01.cpp.

Function Documentation

◆ 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 72 of file test_intdecstring01.cpp.

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 83 of file test_intdecstring01.cpp.

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 95 of file test_intdecstring01.cpp.

Here is the caller graph for this function:

◆ TEST_CASE()

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

Definition at line 107 of file test_intdecstring01.cpp.