Gamp v0.0.7-67-g7798ac4
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
test_stringconv02.cpp File Reference
#include <cassert>
#include <cstring>
#include <limits>
#include <jau/basic_types.hpp>
#include <jau/cpp_lang_util.hpp>
#include <jau/string_cfmt.hpp>
#include <jau/string_util.hpp>
#include <jau/test/catch2_ext.hpp>
#include <jau/type_traits_queries.hpp>
Include dependency graph for test_stringconv02.cpp:

Go to the source code of this file.

Classes

struct  DataFromTo01< value_type >
 

Functions

 TEST_CASE ("Test 01 - from_chars()", "[jau][string][toBitString]")
 
template<typename value_type>
static void testTo (int line, value_type v, std::string_view exp_s, uint32_t radix=10, jau::LoUpCase capitalization=jau::LoUpCase::lower, jau::PrefixOpt prefix=jau::PrefixOpt::prefix, const uint32_t min_width=0, const char separator=0, const char padding='0')
 
template<typename value_type>
static void testToFrom (int line, value_type exp_v, std::string_view exp_s, std::string_view in_s, uint32_t radix=10, jau::LoUpCase capitalization=jau::LoUpCase::lower, jau::PrefixOpt prefix=jau::PrefixOpt::prefix, const uint32_t min_width=0, const char separator=0, const char padding='0')
 

Function Documentation

◆ testTo()

template<typename value_type>
static void testTo ( int line,
value_type v,
std::string_view exp_s,
uint32_t radix = 10,
jau::LoUpCase capitalization = jau::LoUpCase::lower,
jau::PrefixOpt prefix = jau::PrefixOpt::prefix,
const uint32_t min_width = 0,
const char separator = 0,
const char padding = '0' )
static

Definition at line 38 of file test_stringconv02.cpp.

Here is the caller graph for this function:

◆ testToFrom()

template<typename value_type>
static void testToFrom ( int line,
value_type exp_v,
std::string_view exp_s,
std::string_view in_s,
uint32_t radix = 10,
jau::LoUpCase capitalization = jau::LoUpCase::lower,
jau::PrefixOpt prefix = jau::PrefixOpt::prefix,
const uint32_t min_width = 0,
const char separator = 0,
const char padding = '0' )
static

Definition at line 51 of file test_stringconv02.cpp.

Here is the caller graph for this function:

◆ TEST_CASE()

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

Definition at line 71 of file test_stringconv02.cpp.