From 03e96353b0b1625c812b30c02b8540e043bb35fe Mon Sep 17 00:00:00 2001 From: Tijana Vukovic Date: Mon, 4 Sep 2023 08:38:51 +0200 Subject: [PATCH] Fixed test float equal for Windows --- test/float_equal.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/float_equal.cpp b/test/float_equal.cpp index 3703855cf71..102ee4faf67 100644 --- a/test/float_equal.cpp +++ b/test/float_equal.cpp @@ -112,7 +112,10 @@ TEST_CASE_REGISTER(test_limits); TEST_CASE_REGISTER(test_limits); TEST_CASE_REGISTER(test_limits); TEST_CASE_REGISTER(test_limits); +#ifndef _WIN32 +// On Windows, types int and long have the same min and max values. TEST_CASE_REGISTER(test_limits); +#endif TEST_CASE_REGISTER(test_limits); int main(int argc, const char* argv[]) { test::run(argc, argv); }