Defines a data generator that produce value within an interval.
More...
#include <tts/test/generator.hpp>
template<typename T, typename U = T>
struct tts::between< T, U >
Defines a data generator that produce value within an interval.
#define TTS_MAIN
#include <tts/tts.hpp>
#include <array>
, (std::array<int,7>)
)
(auto data)
{
};
#define TTS_CASE_WITH(ID, TYPES, GENERATOR)
Introduces a template test case providing dynamically generated data to the test code.
Definition: case.hpp:258
auto generate(G... g)
Build a data generator.
Definition: generator.hpp:76
#define TTS_EQUAL(LHS, RHS,...)
Performs equality comparison between two expressions.
Definition: relation.hpp:90
Defines a data generator that produce value within an interval.
Definition: generator.hpp:233
|
| between (T s, U st) |
| Define the interval for the generator.
|
|