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

Marian Buschsieweke notifications at github.com
Wed Sep 29 22:48:48 CEST 2021


@maribu commented on this pull request.



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

Since the function is two lines, it might be easier for the occasional Python reader to just look through the code instead of having to consult the documentation.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16901#discussion_r718873602
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210929/cc47ef25/attachment-0001.htm>


More information about the notifications mailing list