[riot-notifications] [RIOT-OS/RIOT] tests/thread_float: improve and add script (#16901)

Martine Lenders notifications at github.com
Wed Sep 29 18:07:40 CEST 2021

@miri64 commented on this pull request.

> +def assertAlmostEqual(first, second, delta=0.05):
+    assert first + delta > second
+    assert first - delta < second

See https://github.com/RIOT-OS/RIOT/pull/16901#discussion_r717918329. Maybe then it is better to implement this test as a `PexpectTestCase` instead.

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210929/f84f12c5/attachment.htm>

More information about the notifications mailing list