diff options
author | Gael Guennebaud <g.gael@free.fr> | 2019-01-22 15:30:50 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2019-01-22 15:30:50 +0100 |
commit | 543529da6a1eabf415f4f8b56495fad76b57ba22 (patch) | |
tree | d02c1d67adaedd9ca25fa096f0b835850dc5df44 /test/main.h | |
parent | 92774f02758d16eff9d6b73611566fd42eb865f4 (diff) |
Add more extensive tests of Array ctors, including {} variants
Diffstat (limited to 'test/main.h')
-rw-r--r-- | test/main.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/main.h b/test/main.h index a8226ab19..8a68a84ee 100644 --- a/test/main.h +++ b/test/main.h @@ -411,8 +411,6 @@ inline bool test_isApprox(const unsigned short& a, const unsigned short& b) { return internal::isApprox(a, b, test_precision<unsigned short>()); } inline bool test_isApprox(const unsigned int& a, const unsigned int& b) { return internal::isApprox(a, b, test_precision<unsigned int>()); } -inline bool test_isApprox(const long& a, const long& b) -{ return internal::isApprox(a, b, test_precision<long>()); } inline bool test_isApprox(const unsigned long& a, const unsigned long& b) { return internal::isApprox(a, b, test_precision<unsigned long>()); } @@ -423,6 +421,13 @@ inline bool test_isMuchSmallerThan(const int& a, const int& b) inline bool test_isApproxOrLessThan(const int& a, const int& b) { return internal::isApproxOrLessThan(a, b, test_precision<int>()); } +inline bool test_isApprox(const long& a, const long& b) +{ return internal::isApprox(a, b, test_precision<long>()); } +inline bool test_isMuchSmallerThan(const long& a, const long b) +{ return internal::isMuchSmallerThan(a, b, test_precision<long>()); } +inline bool test_isApproxOrLessThan(const long& a, const long& b) +{ return internal::isApproxOrLessThan(a, b, test_precision<long>()); } + inline bool test_isApprox(const float& a, const float& b) { return internal::isApprox(a, b, test_precision<float>()); } inline bool test_isMuchSmallerThan(const float& a, const float& b) |