Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
testing.cc File Reference
#include "testing.hh"
#include "main.hh"
#include "utils.hh"
#include "internal.hh"
#include <algorithm>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <float.h>
#include <ase/randomhash.hh>

Go to the source code of this file.

Namespaces

namespace  Ase
 The Anklang C++ API namespace.
 
namespace  Ase::Test
 Helper namespace for unit testing.
 

Macros

#define TDEBUG(...)
 
#define DEBUG_LOOPS_NEEDED(...)
 

Functions

void Ase::Test::test_output (int kind, const String &msg)
 
bool Ase::Test::slow ()
 Indicates whether slow tests should be run.
 
bool Ase::Test::verbose ()
 Indicates whether tests should run verbosely.
 
uint64_t Ase::Test::random_int64 ()
 Return random int for reproduceble tests.
 
int64_t Ase::Test::random_irange (int64_t begin, int64_t end)
 Return random int within range for reproduceble tests.
 
double Ase::Test::random_float ()
 Return random double for reproduceble tests.
 
double Ase::Test::random_frange (double begin, double end)
 Return random double within range for reproduceble tests.
 
int Ase::Test::run (const StringS &test_names)
 Run named tests.
 
int Ase::Test::run ()
 Run all registered tests.
 
TestEntries Ase::Test::list_tests ()
 
int Ase::Test::run_test (const std::string &test_identifier)
 

Macro Definition Documentation

◆ DEBUG_LOOPS_NEEDED

#define DEBUG_LOOPS_NEEDED (   ...)

Definition at line 42 of file testing.cc.

◆ TDEBUG

#define TDEBUG (   ...)

Definition at line 16 of file testing.cc.