TTS v4.1.0
The Tiny Test System
Loading...
Searching...
No Matches
Data Generators related tools

Generators of test data and their customization points. More...

Topics

 Data Generators
 Generators of the values of the test cases and the range checks.
 Data Generators Customization Points
 Customization points of the data generation for user-defined types.

Classes

struct  tts::base_type< T >
 Gives the base type of a type T. More...
struct  tts::boolean_type< T >
 Gives the boolean type of a type T. More...

Typedefs

using tts::randoms< Mx, Mn >::random_type = void
 Marks tts::randoms and the classes derived from it for tts::is_randoms.

Functions

template<typename D>
void tts::randoms< Mx, Mn >::check (tts::type< D >) const
 Stops on a negative bound when D is an unsigned type.

Variables

T tts::limits_set< T >::inf
 \(+\infty\), for floating-point base types.
T tts::limits_set< T >::maxflint
 Largest \(M\) with every integer of \([-M, M]\) exact, for floating-point base types.
T tts::limits_set< T >::mindenormal
 Smallest positive subnormal value, for floating-point base types.
T tts::limits_set< T >::minf
 \(-\infty\), for floating-point base types.
T tts::limits_set< T >::mone
 \(-1\), for floating-point base types.
T tts::limits_set< T >::mzero
 \(-0\), for floating-point base types.
T tts::limits_set< T >::nan
 Quiet NaN, for floating-point base types.
T tts::limits_set< T >::one
 \(1\).
T tts::limits_set< T >::smallestposval
 Smallest positive normal value, for floating-point base types.
T tts::limits_set< T >::valmax
 Largest representable value of the base type.
T tts::limits_set< T >::valmin
 Lowest representable value of the base type, its most negative one.
T tts::limits_set< T >::zero
 \(0\).