![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
unit test Digxel_test More...
Go to the source code of this file.
unit test Digxel_test
Definition in file digxel-test.cpp.
#include "lib/test/run.hpp"#include "lib/format-cout.hpp"#include "lib/format-string.hpp"#include "lib/test/test-helper.hpp"#include "lib/time/digxel.hpp"#include "lib/random.hpp"#include "lib/util.hpp"Namespaces | |
| namespace | lib |
| Implementation namespace for support and library code. | |
| namespace | lib::time |
| namespace | lib::time::test |
| namespace | lib::time::test::anonymous_namespace{digxel-test.cpp} |
Macros | |
| #define | START_TIMINGS start=clock(); |
| #define | DISPLAY_TIMINGS(ID) |
Typedefs | |
| typedef Digxel< double, VerySpecialFormat > | TestDigxel |
Classes | |
| struct | VerySpecialFormat |
| class | Digxel_test |
Functions | |
| double | randomFrac () |
| uint | isOdd (uint i) |
| double | sum (0) |
| double | checksum (0) |
| void | sideeffectSum (TestDigxel *digxel, double val) |
| double | preval (0) |
| double | newval (0) |
| void | protocollingMutator (TestDigxel *digxel, double val) |
| void | limitingMutator (TestDigxel *digxel, double value2set) |
| void | trivialMutator (TestDigxel *digxel, double value2set) |
| void | emptyMutator (TestDigxel *, double) |
| LAUNCHER (Digxel_test, "unit common") | |
| Register this test class... | |
Variables | |
| const uint | REPEAT = 40 |
| const uint | RAND_RANGE = 100 |
| const uint | RAND_DENOM = 3 |
| const uint | TIMING_CNT = 10000000 |
| #define START_TIMINGS start=clock(); |
| #define DISPLAY_TIMINGS | ( | ID | ) |