Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/test/run.hpp"
Abstract Base Class for all testcases.
Typically, such testcases are created by a Launcher.
Public Member Functions | |
virtual | ~Test ()=default |
this is an interface | |
lib::Random | makeRandGen () |
build a dedicated new RandomGen, seeded from the default-Gen | |
virtual void | run (Arg arg)=0 |
void | seedRand () |
draw a new random seed from a common nucleus, and re-seed the default-Gen. | |
Static Public Member Functions | |
static string | firstTok (Arg) |
conveniently pick the first token from the argument line | |
static uint | firstVal (Arg, uint=1) |
conveniently use some number given as argument, with optional default | |