tinygo-org / drivers

TinyGo drivers for sensors, displays, wireless adaptors, and other devices that use I2C, SPI, GPIO, ADC, and UART interfaces.
https://tinygo.org
BSD 3-Clause "New" or "Revised" License
584 stars 180 forks source link

pixel: add more tests #682

Closed aykevl closed 1 month ago

aykevl commented 1 month ago

I'm trying to figure out a bug. While doing that, I added some tests to make sure all the pixel formats work as expected (the same data should be retrieved from the image as was put in).

Still haven't found the bug though...

aykevl commented 1 month ago

Actually I can get this test to fail by increasing the test image size. New PR incoming...