feisty meow concerns codebase  2.140
test_chaos.cpp File Reference
Include dependency graph for test_chaos.cpp:

Go to the source code of this file.

Macros

#define MAX_RANDOM_BINS   40
 
#define MAX_TEST_CYCLES   10008
 
#define AVG_EXPECTED_PER_BIN   (double(MAX_TEST_CYCLES) / double(MAX_RANDOM_BINS))
 
#define VARIATION_ALLOWED   (AVG_EXPECTED_PER_BIN * 0.1)
 
#define ANOMALIES_ALLOWED   (MAX_RANDOM_BINS / 4)
 
#define LOG(to_print)   EMERGENCY_LOG(program_wide_logger::get(), astring(to_print))
 

Macro Definition Documentation

◆ ANOMALIES_ALLOWED

#define ANOMALIES_ALLOWED   (MAX_RANDOM_BINS / 4)

Definition at line 38 of file test_chaos.cpp.

◆ AVG_EXPECTED_PER_BIN

#define AVG_EXPECTED_PER_BIN   (double(MAX_TEST_CYCLES) / double(MAX_RANDOM_BINS))

Definition at line 36 of file test_chaos.cpp.

◆ LOG

#define LOG (   to_print)    EMERGENCY_LOG(program_wide_logger::get(), astring(to_print))

Definition at line 40 of file test_chaos.cpp.

◆ MAX_RANDOM_BINS

#define MAX_RANDOM_BINS   40

Definition at line 34 of file test_chaos.cpp.

◆ MAX_TEST_CYCLES

#define MAX_TEST_CYCLES   10008

Definition at line 35 of file test_chaos.cpp.

◆ VARIATION_ALLOWED

#define VARIATION_ALLOWED   (AVG_EXPECTED_PER_BIN * 0.1)

Definition at line 37 of file test_chaos.cpp.