[riot-notifications] [RIOT-OS/RIOT] tests/unittests: test black corner case for color_rgb2hsv() (#9940)

benpicco notifications at github.com
Thu Sep 26 23:03:02 CEST 2019


It should suffice to test if `hsv.v` is within *epsilon* of 0.

![Screenshot at 2019-09-26 22-59-34](https://user-images.githubusercontent.com/1301112/65724844-8bc09c80-e0b1-11e9-95da-63d45928767a.png)

`hsv.h = 0` would be red anway.

-- 
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/9940#issuecomment-535685016
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190926/37d30ff0/attachment.htm>


More information about the notifications mailing list