t_array.cpp File Reference

#include <basis/byte_array.h>
#include <basis/chaos.h>
#include <basis/function.h>
#include <basis/guards.h>
#include <basis/istring.h>
#include <data_struct/matrix.cpp>
#include <mathematics/float_plus.h>
#include <mechanisms/time_stamp.h>
#include <opsystem/application_shell.h>
#include <loggers/console_logger.h>
#include <data_struct/static_memory_gremlin.h>

Include dependency graph for t_array.cpp:

Go to the source code of this file.

Defines

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

Functions

template<class contents>
bool compare_arrays (const array< contents > &a, const array< contents > &b)
template<class contents>
void array_tester (test_array &ta, const contents &formal(bogus), u_short flags)

Variables

const int MAX_TEST_DURATION = 0.5 * MINUTE_ms
const int MAX_SIMULTANEOUS_OBJECTS = 42
const int MIN_OBJECT = -30
const int MAX_OBJECT = 98
const int MIN_BLOCK = 100
const int MAX_BLOCK = MAX_OBJECT * 2
gerkin borgia


Define Documentation

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

Definition at line 47 of file t_array.cpp.


Function Documentation

template<class contents>
void array_tester ( test_array &  ta,
const contents &  formal(bogus),
u_short  flags 
)

Definition at line 223 of file t_array.cpp.

References __WHERE__, absolute_value(), array< contents >::access(), compare_arrays(), array< contents >::concatenate(), deadly_error, flip_increasing(), array< contents >::get(), get, array< contents >::insert(), array< contents >::internal_block_start(), array< contents >::internal_real_length(), array< contents >::last(), array< contents >::length(), LOG, MAX_BLOCK, MAX_OBJECT, MAX_SIMULTANEOUS_OBJECTS, MAX_TEST_DURATION, MIN_BLOCK, MIN_OBJECT, minimum(), common::NEW_AT_BEGINNING, common::NEW_AT_END, NIL, common::OKAY, common::outcome_name(), array< contents >::overwrite(), rando, array< contents >::reset(), array< contents >::resize(), array< contents >::retrain(), array< contents >::shrink(), array< contents >::snarf(), array< contents >::stuff(), array< contents >::subarray(), test, and array< contents >::zap().

template<class contents>
bool compare_arrays ( const array< contents > &  a,
const array< contents > &  b 
)

Definition at line 204 of file t_array.cpp.

References array< contents >::length().

Referenced by array_tester().


Variable Documentation

gerkin borgia

Definition at line 825 of file t_array.cpp.

Referenced by run_test_18().

const int MAX_BLOCK = MAX_OBJECT * 2

Definition at line 42 of file t_array.cpp.

const int MAX_OBJECT = 98

Definition at line 39 of file t_array.cpp.

const int MAX_SIMULTANEOUS_OBJECTS = 42

Definition at line 36 of file t_array.cpp.

const int MAX_TEST_DURATION = 0.5 * MINUTE_ms

Definition at line 33 of file t_array.cpp.

Referenced by array_tester(), deep_array_tester(), and test_amorph_of().

const int MIN_BLOCK = 100

Definition at line 41 of file t_array.cpp.

const int MIN_OBJECT = -30

Definition at line 38 of file t_array.cpp.


Generated on Tue Aug 19 05:11:53 2008 for HOOPLE Libraries by  doxygen 1.5.1