diff options
author | CNugteren <web@cedricnugteren.nl> | 2015-06-20 10:58:21 +0200 |
---|---|---|
committer | CNugteren <web@cedricnugteren.nl> | 2015-06-20 10:58:21 +0200 |
commit | e26742c62993892deffbd44e68f3769423330cbb (patch) | |
tree | 1ee472facfd4c9fe47979a98261973d488c6d939 /include | |
parent | d7097a063ad7eca9aa3982c3c63eba91cd2271c5 (diff) |
Added additional absolute error checking when testing
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/utilities.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/utilities.h b/include/internal/utilities.h index af04dfdb..600605c7 100644 --- a/include/internal/utilities.h +++ b/include/internal/utilities.h @@ -143,6 +143,10 @@ bool CheckArgument(const int argc, char *argv[], std::string &help, const std::s // Returns a random number to be used as a seed unsigned int GetRandomSeed(); +// Test/example data lower and upper limit +constexpr auto kTestDataLowerLimit = -2.0; +constexpr auto kTestDataUpperLimit = 2.0; + // Populates a vector with random data template <typename T> void PopulateVector(std::vector<T> &vector); |