feisty meow concerns codebase  2.140
test_string.cpp File Reference
#include <application/hoople_main.h>
#include <basis/astring.h>
#include <basis/enhance_cpp.h>
#include <basis/functions.h>
#include <basis/guards.h>
#include <loggers/critical_events.h>
#include <loggers/file_logger.h>
#include <mathematics/chaos.h>
#include <structures/object_packers.h>
#include <structures/string_array.h>
#include <structures/static_memory_gremlin.h>
#include <textual/byte_formatter.h>
#include <textual/string_convert.h>
#include <textual/string_manipulation.h>
#include <timely/earth_time.h>
#include <timely/time_stamp.h>
#include <unit_test/unit_base.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for test_string.cpp:

Go to the source code of this file.

Macros

#define LOG(s)   EMERGENCY_LOG(program_wide_logger::get(), s)
 
#define WHERE   __WHERE__.s()
 
#define test(expr)
 
#define test_name()   a_sprintf("test %d: ", test_num)
 
#define test_name()   a_sprintf("test %d: ", test_num)
 

Functions

void standard_sprintf_test (const char *parm_string)
 

Variables

const float TEST_RUNTIME_DEFAULT = .02 * MINUTE_ms
 
chaos rando
 

Macro Definition Documentation

◆ LOG

#define LOG (   s)    EMERGENCY_LOG(program_wide_logger::get(), s)

Definition at line 120 of file test_string.cpp.

◆ test

#define test (   expr)
Value:
{ \
ASSERT_FALSE(expr, astring("operator test should work: ") + #expr); \
}
Provides a dynamically resizable ASCII character string.
Definition: astring.h:35

Definition at line 125 of file test_string.cpp.

◆ test_name [1/2]

#define test_name ( )    a_sprintf("test %d: ", test_num)

◆ test_name [2/2]

#define test_name ( )    a_sprintf("test %d: ", test_num)

◆ WHERE

#define WHERE   __WHERE__.s()

Definition at line 122 of file test_string.cpp.

Function Documentation

◆ standard_sprintf_test()

void standard_sprintf_test ( const char *  parm_string)

Definition at line 862 of file test_string.cpp.

References FUNCDEF, mathematics::chaos::inclusive(), rando, and basis::astring::s().

Variable Documentation

◆ rando

◆ TEST_RUNTIME_DEFAULT

const float TEST_RUNTIME_DEFAULT = .02 * MINUTE_ms

Definition at line 57 of file test_string.cpp.