GNOME Bugzilla – Bug 625326
Test test_signal.TestCMarshaller.testTest4 fails with d == 1.78
Last modified: 2010-07-26 15:54:34 UTC
testTest4 (test_signal.TestCMarshaller) ... ** CRITICAL **: test4_callback: assertion `d == 1.78' failed d is a double and should not be compared with ==, but <= and => to avoid precision differences.
Created attachment 166594 [details] [review] Don't use == to compare doubles, use <= and =>. This avoids inequality due to small precisions difference.
Thanks! Attachment 166594 [details] pushed as 7e9cbd5 - Don't use == to compare doubles, use <= and =>.