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

Martine Lenders notifications at github.com
Wed Sep 29 17:43:55 CEST 2021


@miri64 commented on this pull request.



> +    if (first_thread == 1):
+        assertAlmostEqual(float(first_result), 141.44372894635987)
+        assertAlmostEqual(float(second_result), 141.44372894635987)
+    else:
+        assertAlmostEqual(float(second_result), 141.44372894635987)
+        assertAlmostEqual(float(first_result), 141.44372894635987)

(of course you need to replace `second_number` with whatever is actually expected ;-))

-- 
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_r718652148
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210929/fac6c726/attachment.htm>


More information about the notifications mailing list