[riot-notifications] [RIOT-OS/RIOT] tests/thread_float: improve and add script (#16901)
notifications at github.com
Wed Sep 29 17:50:08 CEST 2021
@aabadie commented on this pull request.
> +def assertAlmostEqual(first, second, delta=0.05):
+ assert first + delta > second
+ assert first - delta < second
That's a useful function that could be used elsewhere I think. Maybe add it in testrunner (any opinion for a better place) and import it from there ?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications