mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
[sixel] fix unit tests on big-endian machines
This commit is contained in:
parent
2d7350c9ac
commit
8cd54b7932
@ -28,7 +28,10 @@ TEST_CASE("Sixels") {
|
||||
REQUIRE(ncv);
|
||||
uint32_t p;
|
||||
ncvisual_at_yx(ncv, 0, 0, &p);
|
||||
CHECK(0xffcc2da8 == p);
|
||||
CHECK(0xff == ncpixel_a(p));
|
||||
CHECK(0xa8 == ncpixel_r(p));
|
||||
CHECK(0x2d == ncpixel_g(p));
|
||||
CHECK(0xcc == ncpixel_b(p));
|
||||
ncvisual_destroy(ncv);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user