jaulib v1.4.1-14-g15926ba
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
test_stringfmt_check.cpp File Reference
#include <sys/types.h>
#include <cassert>
#include <cinttypes>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string_view>
#include <type_traits>
#include <jau/basic_types.hpp>
#include <jau/cpp_lang_util.hpp>
#include <jau/cpp_pragma.hpp>
#include <jau/float_types.hpp>
#include <jau/int_types.hpp>
#include <jau/string_cfmt.hpp>
#include <jau/string_literal.hpp>
#include <jau/string_util.hpp>
#include <jau/test/catch2_ext.hpp>
#include <jau/type_concepts.hpp>
#include <jau/type_traits_queries.hpp>
#include <jau/debug.hpp>
Include dependency graph for test_stringfmt_check.cpp:

Go to the source code of this file.

Functions

static std::string format_000b_vsnprintf (float fa, float fb, size_t sz1, uint64_t a_u64, int i)
 
static std::string format_010a_jaufmtstr (float fa, float fb, size_t sz1, uint64_t a_u64, int i)
 
static std::string format_010b_jaufmtstr (float fa, float fb, size_t sz1, uint64_t a_u64, int i)
 
static std::string format_020a_jaufmtstr_n (float fa, float fb, size_t sz1, uint64_t a_u64, int i)
 
static std::string format_020b_jaufmtstr_n (float fa, float fb, size_t sz1, uint64_t a_u64, int i)
 
static std::string format_030a_strstream (float fa, float fb, size_t sz1, uint64_t a_u64, int i)
 
static std::string format_030b_strstream (float fa, float fb, size_t sz1, uint64_t a_u64, int i)
 
static void format_0a ()
 
static void format_0b ()
 
static std::string format_snprintf_ffszu64d (float fa, float fb, size_t sz1, uint64_t a_u64, int i)
 
 TEST_CASE ("jau::cfmt_01", "[jau][std::string][format_string]")
 
 TEST_CASE ("jau::cfmt_10 debug", "[jau][std::string][format_string][debug]")
 
 TEST_CASE ("jau::cfmt_10", "[jau][std::string][jau::cfmt]")
 
template<typename Func>
static size_t test_format (const Func func, bool output)
 

Function Documentation

◆ format_snprintf_ffszu64d()

static std::string format_snprintf_ffszu64d ( float fa,
float fb,
size_t sz1,
uint64_t a_u64,
int i )
static
Examples
test_stringfmt_check.cpp.

Definition at line 48 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ format_010a_jaufmtstr()

static std::string format_010a_jaufmtstr ( float fa,
float fb,
size_t sz1,
uint64_t a_u64,
int i )
static
Examples
test_stringfmt_check.cpp.

Definition at line 72 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ format_020a_jaufmtstr_n()

static std::string format_020a_jaufmtstr_n ( float fa,
float fb,
size_t sz1,
uint64_t a_u64,
int i )
static
Examples
test_stringfmt_check.cpp.

Definition at line 79 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ format_030a_strstream()

static std::string format_030a_strstream ( float fa,
float fb,
size_t sz1,
uint64_t a_u64,
int i )
static
Examples
test_stringfmt_check.cpp.

Definition at line 86 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ format_000b_vsnprintf()

static std::string format_000b_vsnprintf ( float fa,
float fb,
size_t sz1,
uint64_t a_u64,
int i )
static
Examples
test_stringfmt_check.cpp.

Definition at line 104 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ format_010b_jaufmtstr()

static std::string format_010b_jaufmtstr ( float fa,
float fb,
size_t sz1,
uint64_t a_u64,
int i )
static
Examples
test_stringfmt_check.cpp.

Definition at line 127 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ format_020b_jaufmtstr_n()

static std::string format_020b_jaufmtstr_n ( float fa,
float fb,
size_t sz1,
uint64_t a_u64,
int i )
static
Examples
test_stringfmt_check.cpp.

Definition at line 134 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ format_030b_strstream()

static std::string format_030b_strstream ( float fa,
float fb,
size_t sz1,
uint64_t a_u64,
int i )
static
Examples
test_stringfmt_check.cpp.

Definition at line 141 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ test_format()

template<typename Func>
static size_t test_format ( const Func func,
bool output )
static
Examples
test_stringfmt_check.cpp.

Definition at line 163 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ format_0a()

static void format_0a ( )
static
Examples
test_stringfmt_check.cpp.

Definition at line 179 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ format_0b()

static void format_0b ( )
static
Examples
test_stringfmt_check.cpp.

Definition at line 189 of file test_stringfmt_check.cpp.

Here is the caller graph for this function:

◆ TEST_CASE() [1/3]

TEST_CASE ( "jau::cfmt_10" ,
"" [jau][std::string][jau::cfmt] )

Definition at line 200 of file test_stringfmt_check.cpp.

◆ TEST_CASE() [2/3]

TEST_CASE ( "jau::cfmt_01" ,
"" [jau][std::string][format_string] )

Definition at line 404 of file test_stringfmt_check.cpp.

◆ TEST_CASE() [3/3]

TEST_CASE ( "jau::cfmt_10 debug" ,
"" [jau][std::string][format_string][debug] )

Definition at line 409 of file test_stringfmt_check.cpp.