Defines a data generator that produce a reversed ramp of data.
More...
#include <tts/test/generator.hpp>
template<typename T, typename U = T>
struct tts::reverse_ramp< T, U >
Defines a data generator that produce a reversed ramp of data.
#define TTS_MAIN
#include <tts/tts.hpp>
#include <array>
, (std::array<int,4>)
)
(auto ramp1, auto ramp2)
{
};
#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 a reversed ramp of data.
Definition: generator.hpp:188
|
| reverse_ramp (T s) |
| Define a reversed ramp with a final value and an unit step.
|
|
| reverse_ramp (T s, U st) |
| Define a reversed ramp with a final value and a custom step.
|
|