Main TTS namespace.
TTS - Tiny Test System Copyright : TTS Contributors & Maintainers SPDX-License-Identifier: BSL-1.0
|
|
using | arithmetic_types = concatenate_t< real_types, int_types, uint_types > |
| | List of all standard arithmetic types.
|
| |
|
using | int_types = types< std::int64_t, std::int32_t, std::int16_t, std::int8_t > |
| | List of all standard signed integer types.
|
| |
|
using | integral_types = concatenate_t< int_types, uint_types > |
| | List of all standard integer types.
|
| |
|
using | real_types = types< double, float > |
| | List of all standard floating point types.
|
| |
| template<typename T > |
| using | realistic_distribution = typename detail::choose_distribution< T >::type |
| | Realistic standard random distribution.
|
| |
| template<typename T > |
| using | realistic_generator = prng_generator< T, ::tts::realistic_distribution< T > > |
| | Data generator using the tts::realistic_distribution random distribution.
|
| |
|
using | signed_types = concatenate_t< real_types, int_types > |
| | List of all standard signed types.
|
| |
|
using | uint_types = types< std::uint64_t, std::uint32_t, std::uint16_t, std::uint8_t > |
| | List of all standard unsigned types.
|
| |
|
| template<typename T , typename U > |
| double | absolute_distance (T const &a, U const &b) |
| | Compute the absolute distance between two values.
|
| |
| inline ::tts::options const & | arguments () |
| | Retrieve the current list of command line argument.
|
| |
| template<typename T > |
| std::string | as_string (T const &e) |
| | Value-to-string conversion.
|
| |
| template<typename T , typename V > |
| auto | as_value (V const &v) |
| | Single evaluation of value extension point.
|
| |
| template<typename... G> |
| auto | generate (G... g) |
| | Build a data generator.
|
| |
| void | initialize (int argc, const char **argv) |
| | Initializes a TTS test suite.
|
| |
| template<typename T , typename U > |
| bool | is_ieee_equal (T const &a, U const &b) |
| | Compute if values are exactly equals or all NaNs/Invalids.
|
| |
|
template<typename T > |
| constexpr auto | name (T const &) |
| | Provide a string containing the name of the type of its parameter in readable form.
|
| |
| std::int32_t | random_seed (int base_seed=-1) |
| | Initialize the random seed for tests.
|
| |
| template<typename T , typename U > |
| double | relative_distance (T const &a, U const &b) |
| | Compute the relative distance between two values.
|
| |
| int | report (std::ptrdiff_t fails, std::ptrdiff_t invalids) |
| | Final tests handler customization point.
|
| |
| template<typename T , typename U > |
| double | ulp_distance (T const &a, U const &b) |
| | Compute the distance in ULP between two values.
|
| |