|
Defines |
| #define | SHOW_TEST() (cout << '.').flush() |
| #define | SKIP_TEST() (cout << '?').flush() |
| #define | NO_TEST() (cout << '*').flush() |
| #define | PROGRESS() debug_spin(stderr) |
| #define | NB_LOOPS 250 |
| #define | CHEAP dim <= 100 && size <= 100 |
| #define | NEW_FED(NAME, DIM) DBMFederation_t NAME; dbmf_initFederation(&NAME, DIM) |
| #define | DEL_FED(NAME) dbmf_deallocateFederation(&factory, &NAME) |
Functions |
| static bool | test_isPointIn (const int32_t *pt, const fed_t &fed, cindex_t dim) |
| | Test that a discrete point is in a DBM list.
|
| static bool | test_isRealPointIn (const double *pt, const fed_t &fed, cindex_t dim) |
| | Test that a real point is in a DBM list.
|
| static fed_t | test_gen (cindex_t dim, size_t n) |
| | Generate a federation of n DBMs.
|
| static const dbm_t & | test_getDBM (const fed_t &fed) |
| | Pick one DBM from a federation of DBMs.
|
| static bool | test_generateRealPoint (double *pt, const fed_t &fed) |
| | Generate a real point in a federation.
|
| static bool | test_generatePoint (int32_t *pt, const fed_t &fed) |
| | Add some superset/subset DBMs to a federation.
|
| static void | test_addDBMs (fed_t &fed, size_t nb) |
| static fed_t | test_genArg (size_t n, const fed_t &fed) |
| | Generate arguments for an operation with a federation.
|
| static size_t | test_genConstraints (const fed_t &fed, size_t n, constraint_t *constraints) |
| | Generate constraints for a federation.
|
| static void | test_mix (fed_t &fed) |
| | Mix a DBM list: misuse of quicksort.
|
| static DBMFederation_t | test_new2old (const fed_t &fed) |
| static fed_t | test_old2new (const DBMFederation_t &fed) |
| static void | test_setZero (cindex_t dim) |
| static void | test_setInit (cindex_t dim) |
| static void | test_copy (cindex_t dim, size_t size) |
| static void | test_union (cindex_t dim, size_t size) |
| static void | test_convexUnion (cindex_t dim, size_t size) |
| static void | test_intersection (cindex_t dim, size_t size) |
| static void | test_constrain (cindex_t dim, size_t size) |
| static void | test_up (cindex_t dim, size_t size) |
| static void | test_down (cindex_t dim, size_t size) |
| void | test_freeClock (cindex_t dim, size_t size) |
| static void | test_updateValue (cindex_t dim, size_t size) |
| static void | test_updateClock (cindex_t dim, size_t size) |
| static void | test_updateIncrement (cindex_t dim, size_t size) |
| static void | test_update (cindex_t dim, size_t size) |
| static void | test_satisfies (cindex_t dim, size_t size) |
| static void | test_constrainEmpty (cindex_t dim, size_t size) |
| static void | test_isUnbounded (cindex_t dim, size_t size) |
| static void | test_relation (cindex_t dim, size_t size) |
| static void | test_freeAllUp (cindex_t dim, size_t size) |
| static void | test_freeAllDown (cindex_t dim, size_t size) |
| static void | test_freeDown (cindex_t dim, size_t size) |
| static void | test_freeUp (cindex_t dim, size_t size) |
| static void | test_relaxUp (cindex_t dim, size_t size) |
| static void | test_equal (cindex_t dim, size_t size) |
| static void | test_subtract (cindex_t dim, size_t size) |
| static void | test_predt (cindex_t dim, size_t size) |
| static void | test_reduce (cindex_t dim, size_t size) |
| void | test (int dim, int size) |
| int | main (int argc, char *argv[]) |
Variables |
| DBMAllocator_t | factory |