Unverified Commit d8584bda by Dominic Hamon Committed by GitHub

Use EXPECT_DOUBLE_EQ when comparing doubles in tests. (#624)

* Use EXPECT_DOUBLE_EQ when comparing doubles in tests. Fixes #623 * disable 'float-equal' warning
parent 7d03f2df
...@@ -138,7 +138,6 @@ else() ...@@ -138,7 +138,6 @@ else()
add_cxx_compiler_flag(-pedantic) add_cxx_compiler_flag(-pedantic)
add_cxx_compiler_flag(-pedantic-errors) add_cxx_compiler_flag(-pedantic-errors)
add_cxx_compiler_flag(-Wshorten-64-to-32) add_cxx_compiler_flag(-Wshorten-64-to-32)
add_cxx_compiler_flag(-Wfloat-equal)
add_cxx_compiler_flag(-fstrict-aliasing) add_cxx_compiler_flag(-fstrict-aliasing)
# Disable warnings regarding deprecated parts of the library while building # Disable warnings regarding deprecated parts of the library while building
# and testing those parts of the library. # and testing those parts of the library.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment