Floating Point Number isEqual Fails

Description

While comparing a number that was summed to what should be the expected sum, the isEqual assertion fails.

Researching it, I think what's happening is that the sum is a floating point number, while the expected sum I am comparing it to is not.

Example below:

Test Output:
testFloatingPointNumberAddition (23 ms) - Expected [1756.8] but received [1756.8]

Gliffy Diagrams

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Sentry

Created June 26, 2014 at 8:35 PM
Updated September 22, 2014 at 8:01 PM
Resolved September 22, 2014 at 8:01 PM