PixelWipe unit test: fix for sixel-based terminals

pull/2173/head
nick black 3 years ago
parent e4a50f0143
commit 1689365b6c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -650,9 +650,10 @@ TEST_CASE("Bitmaps") {
CHECK(newn);
ncplane_move_bottom(newn);
CHECK(0 == notcurses_render(nc_));
const auto s = newn->sprite;
for(int y = 0 ; y < s->dimy ; ++y){
for(int x = 0 ; x < s->dimx ; ++x){
int dimy, dimx;
ncplane_dim_yx(n_, &dimy, &dimx);
for(int y = 0 ; y < dimy ; ++y){
for(int x = 0 ; x < dimx ; ++x){
CHECK(1 == ncplane_putchar_yx(n_, y, x, 'x'));
// FIXME generates too much output, OOMing ctest
// CHECK(0 == notcurses_render(nc_));

Loading…
Cancel
Save