Go to the source code of this file.
unit test Digxel_test
Definition in file digxel-test.cpp.
|
typedef Digxel< double, VerySpecialFormat > | TestDigxel |
|
|
#define | DISPLAY_TIMINGS(ID) |
|
#define | START_TIMINGS start=clock(); |
|
|
double | checksum (0) |
|
void | emptyMutator (TestDigxel *, double) |
|
uint | isOdd (uint i) |
|
| LAUNCHER (Digxel_test, "unit common") |
| Register this test class... More...
|
|
void | limitingMutator (TestDigxel *digxel, double value2set) |
|
double | newval (0) |
|
double | preval (0) |
|
void | protocollingMutator (TestDigxel *digxel, double val) |
|
double | randomFrac () |
|
void | sideeffectSum (TestDigxel *digxel, double val) |
|
double | sum (0) |
|
void | trivialMutator (TestDigxel *digxel, double value2set) |
|
|
const uint | RAND_DENOM = 3 |
|
const uint | RAND_RANGE = 100 |
|
const uint | REPEAT = 40 |
|
const uint | TIMING_CNT = 10000000 |
|
|
| lib |
| Implementation namespace for support and library code.
|
|
◆ DISPLAY_TIMINGS
#define DISPLAY_TIMINGS |
( |
|
ID | ) |
|
Value:stop = clock(); \
uint ID = stop-start;\
cout << resultDisplay %
STRINGIFY (ID) % (double(ID)/CLOCKS_PER_SEC/TIMING_CNT*1e9) ;
#define STRINGIFY(TOKEN)
this macro wraps its parameter into a cstring literal
◆ LAUNCHER()
lib::time::test::LAUNCHER |
( |
Digxel_test |
, |
|
|
"unit common" |
|
|
) |
| |
Register this test class...