feisty meow concerns codebase
2.140
|
#include "bogon.h"
#include <application/hoople_main.h>
#include <mathematics/chaos.h>
#include <basis/functions.h>
#include <basis/guards.h>
#include <structures/amorph.h>
#include <timely/time_stamp.h>
#include <loggers/file_logger.h>
#include <loggers/console_logger.h>
#include <loggers/combo_logger.h>
#include <structures/static_memory_gremlin.h>
#include <unit_test/unit_base.h>
#include <memory.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | DEBUG_ARRAY |
#define | DEBUG_AMORPH |
#define | LOG(to_print) {} |
#define | PACK_BLOB_SIZE(max_limbs) (max_limbs * sizeof(blob_hold)) |
#define | PROGRAM_NAME astring("test_amorph") |
Functions | |
HOOPLE_MAIN (t_amorph,) | |
template<class contents > | |
int | test_amorph_of (const contents &bogus) |
Variables | |
const int | default_test_iterations = 2 |
const int | MAX_LIMBS = 200 |
const int | MIN_CHUBBY = 60 |
const int | MAX_RANDO = 275 |
const int | MAX_TEST_DURATION = 1 * MINUTE_ms |
const int | MAX_SIMULTANEOUS_OBJECTS = 42 |
#define DEBUG_AMORPH |
Definition at line 45 of file test_amorph.cpp.
#define DEBUG_ARRAY |
Definition at line 42 of file test_amorph.cpp.
#define LOG | ( | to_print | ) | {} |
Definition at line 54 of file test_amorph.cpp.
#define PACK_BLOB_SIZE | ( | max_limbs | ) | (max_limbs * sizeof(blob_hold)) |
Definition at line 76 of file test_amorph.cpp.
Definition at line 93 of file test_amorph.cpp.
HOOPLE_MAIN | ( | t_amorph | ) |
int test_amorph_of | ( | const contents & | bogus | ) |
Definition at line 482 of file test_amorph.cpp.
References mathematics::chaos::inclusive(), MAX_SIMULTANEOUS_OBJECTS, MAX_TEST_DURATION, and rando.
const int default_test_iterations = 2 |
Definition at line 82 of file test_amorph.cpp.
const int MAX_LIMBS = 200 |
Definition at line 84 of file test_amorph.cpp.
const int MAX_RANDO = 275 |
Definition at line 90 of file test_amorph.cpp.
const int MAX_SIMULTANEOUS_OBJECTS = 42 |
Definition at line 477 of file test_amorph.cpp.
Referenced by test_amorph_of().
const int MAX_TEST_DURATION = 1 * MINUTE_ms |
Definition at line 474 of file test_amorph.cpp.
Referenced by test_amorph_of().
const int MIN_CHUBBY = 60 |
Definition at line 87 of file test_amorph.cpp.