12 #include <gtest/gtest.h> 13 #include "../../include/ecl/math/fuzzy.hpp" 44 int main(
int argc,
char **argv) {
45 testing::InitGoogleTest(&argc,argv);
46 return RUN_ALL_TESTS();
int main(int argc, char **argv)
bool isApproxOrLessThan(const Scalar &x, const OtherScalar &y, typename numeric_limits< Scalar >::Precision precision=numeric_limits< Scalar >::dummy_precision)
Checks if the first value is less than or approximate to the second.
TEST(FuzzyTests, isApprox)
bool isApprox(const Scalar &x, const OtherScalar &y, typename numeric_limits< Scalar >::Precision precision=numeric_limits< Scalar >::dummy_precision)
Checks if two values are approximate.