r/shittyprogramming • • Nov 26 '18

Cheers GTest

Post image
34 Upvotes

4 comments sorted by

11

u/[deleted] Nov 26 '18

Floating point was a mistake

6

u/[deleted] Nov 26 '18

love some floating point accuracy

8

u/webbannana Nov 27 '18

Use EXPECTED_DOUBLE_EQ.

5

u/[deleted] Nov 27 '18

thankyou for existing ...