dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
403 stars 134 forks source link

test_ess_inequality fails sometimes #674

Closed jmbarr closed 2 years ago

jmbarr commented 2 years ago

test_ess_inequality will fail on some occasions due to floating point issues (you're essentially testing two floats for equality, which is never a good idea). Lowering the threshold to the default allows the test to pass.

codecov[bot] commented 2 years ago

Codecov Report

Merging #674 (a4b8a43) into main (19add43) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #674   +/-   ##
=======================================
  Coverage   94.56%   94.56%           
=======================================
  Files         168      168           
  Lines        8459     8459           
  Branches     1634     1634           
=======================================
  Hits         7999     7999           
  Misses        343      343           
  Partials      117      117           
Flag Coverage Δ
integration 68.77% <ø> (ø)
unittests 92.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 19add43...a4b8a43. Read the comment docs.