« Previous | Next » 

Revision 2c1148be


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