Gromacs
2025.0-dev-20241011-013a99c
|
Unified looping over test data.
This class allows to write a loop over test data as for (const auto& value : TestValues::testValueGenerator<type>()) where type can be any of std::string, int, int64_t, bool, float, double, std::vector<[std::string, int, int64_6, float, double]>, or tensor.
Classes | |
class | TestValueGenerator |
Helper class allowing to loop over test values. More... | |
Static Public Member Functions | |
template<typename T > | |
static TestValueGenerator< T > | testValueGenerator () |
Static function returning a TestValueGenerator of type T. More... | |
|
inlinestatic |
Static function returning a TestValueGenerator of type T.
T | type of values generated |