feisty meow concerns codebase  2.140
test_amorph.cpp File Reference
#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>
Include dependency graph for test_amorph.cpp:

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
 

Macro Definition Documentation

◆ DEBUG_AMORPH

#define DEBUG_AMORPH

Definition at line 45 of file test_amorph.cpp.

◆ DEBUG_ARRAY

#define DEBUG_ARRAY

Definition at line 42 of file test_amorph.cpp.

◆ LOG

#define LOG (   to_print)    {}

Definition at line 54 of file test_amorph.cpp.

◆ PACK_BLOB_SIZE

#define PACK_BLOB_SIZE (   max_limbs)    (max_limbs * sizeof(blob_hold))

Definition at line 76 of file test_amorph.cpp.

◆ PROGRAM_NAME

#define PROGRAM_NAME   astring("test_amorph")

Definition at line 93 of file test_amorph.cpp.

Function Documentation

◆ HOOPLE_MAIN()

HOOPLE_MAIN ( t_amorph  )

◆ test_amorph_of()

template<class contents >
int test_amorph_of ( const contents &  bogus)

Variable Documentation

◆ default_test_iterations

const int default_test_iterations = 2

Definition at line 82 of file test_amorph.cpp.

◆ MAX_LIMBS

const int MAX_LIMBS = 200

Definition at line 84 of file test_amorph.cpp.

◆ MAX_RANDO

const int MAX_RANDO = 275

Definition at line 90 of file test_amorph.cpp.

◆ MAX_SIMULTANEOUS_OBJECTS

const int MAX_SIMULTANEOUS_OBJECTS = 42

Definition at line 477 of file test_amorph.cpp.

Referenced by test_amorph_of().

◆ MAX_TEST_DURATION

const int MAX_TEST_DURATION = 1 * MINUTE_ms

Definition at line 474 of file test_amorph.cpp.

Referenced by test_amorph_of().

◆ MIN_CHUBBY

const int MIN_CHUBBY = 60

Definition at line 87 of file test_amorph.cpp.