« Previous | Next » 

Revision 2c1148be

ID2c1148be6ed0c78edd5b449294dcc26bf9755b18

Added by Karsten Dambekalns over 7 years ago

[TASK] Fix unit test failing due to float precision issue, part III

Tries to fix two unit tests still failing with something like::

Expected: "12.35"
Actual: "12.349999999999999857891452847979962825775146484375"

The first tries did not work, so we just raise the value from 12.34 to
112.34 - that makes it 112.34000000... which makes the test pass.

Change-Id: I0eb8b099473781bf60196caaf3394d116d330edd
Releases: master

  • added
  • modified
  • copied
  • renamed
  • deleted