jaulib v1.4.1
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
test_to_string.cpp File Reference
#include <cassert>
#include <cstring>
#include "test_datatype01.hpp"
#include <jau/basic_types.hpp>
#include <jau/cpp_lang_util.hpp>
#include <jau/string_util.hpp>
#include <jau/test/catch2_ext.hpp>
#include <jau/type_traits_queries.hpp>
Include dependency graph for test_to_string.cpp:

Go to the source code of this file.

Typedefs

typedef std::vector< int > std_vec_int
 
typedef std_vec_int::const_iterator std_vec_int_citer
 
typedef std_vec_int_citer::pointer std_vec_int_citer_pointer
 
typedef decltype(std::declval< std_vec_int_citer >().operator->()) std_vec_int_citer_ptrop_retval
 
typedef std_vec_int::iterator std_vec_int_iter
 

Functions

 TEST_CASE ("Test 00 - to_string", "[jau][string][to_string]")
 
 TEST_CASE ("Test 03 - toBitString()", "[jau][string][toBitString]")
 
static void testToBitString (std::string_view prefix, std::string_view exp_be_s, const uint64_t &exp_be_v, size_t max_bits, bool check_value=true)
 
static void testToBitString (std::string_view prefix, std::string_view s_be1, const uint32_t &v_be1)
 

Typedef Documentation

◆ std_vec_int

typedef std::vector<int> std_vec_int

Definition at line 35 of file test_to_string.cpp.

◆ std_vec_int_iter

typedef std_vec_int::iterator std_vec_int_iter

Definition at line 37 of file test_to_string.cpp.

◆ std_vec_int_citer

typedef std_vec_int::const_iterator std_vec_int_citer

Definition at line 39 of file test_to_string.cpp.

◆ std_vec_int_citer_pointer

typedef std_vec_int_citer::pointer std_vec_int_citer_pointer

Definition at line 41 of file test_to_string.cpp.

◆ std_vec_int_citer_ptrop_retval

typedef decltype( std::declval<std_vec_int_citer>().operator->() ) std_vec_int_citer_ptrop_retval

Definition at line 43 of file test_to_string.cpp.

Function Documentation

◆ TEST_CASE() [1/2]

TEST_CASE ( "Test 00 - to_string" ,
"" [jau][string][to_string] )

Definition at line 47 of file test_to_string.cpp.

◆ testToBitString() [1/2]

static void testToBitString ( std::string_view prefix,
std::string_view exp_be_s,
const uint64_t & exp_be_v,
size_t max_bits,
bool check_value = true )
static

Definition at line 194 of file test_to_string.cpp.

Here is the caller graph for this function:

◆ testToBitString() [2/2]

static void testToBitString ( std::string_view prefix,
std::string_view s_be1,
const uint32_t & v_be1 )
static

Definition at line 210 of file test_to_string.cpp.

◆ TEST_CASE() [2/2]

TEST_CASE ( "Test 03 - toBitString()" ,
"" [jau][string][toBitString] )

Definition at line 214 of file test_to_string.cpp.