add tests interfaces as examples in the doc ; remove unused test binaries ; some code formating

This commit is contained in:
Johann Dreo 2010-11-07 23:12:28 +01:00
commit bd236ee67f
54 changed files with 129 additions and 1410 deletions

View file

@ -88,12 +88,16 @@ template <class T = double> class eoUniformGenerator : public eoRndGenerator<T>
for ints and unsigneds
*/
T operator()(void) { return minim+static_cast<T>(uniform.uniform(range)); }
/** @example t-eoUniform.cpp
*/
private :
T minim;
T range;
eoRng& uniform;
};
/** @example t-eoRandom.cpp
*/
/// Specialization for bool, does an unbiased coin flip