Skip to content

Commit

Permalink
Use EXPECT_DOUBLE_EQ when comparing doubles in tests. (google#624)
Browse files Browse the repository at this point in the history
* Use EXPECT_DOUBLE_EQ when comparing doubles in tests.

Fixes google#623

* disable 'float-equal' warning
  • Loading branch information
dominichamon authored Jun 27, 2018
1 parent 7d03f2d commit d8584bd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ else()
add_cxx_compiler_flag(-pedantic)
add_cxx_compiler_flag(-pedantic-errors)
add_cxx_compiler_flag(-Wshorten-64-to-32)
add_cxx_compiler_flag(-Wfloat-equal)
add_cxx_compiler_flag(-fstrict-aliasing)
# Disable warnings regarding deprecated parts of the library while building
# and testing those parts of the library.
Expand Down

0 comments on commit d8584bd

Please sign in to comment.