[direct] more box unit tests

This commit is contained in:
nick black 2021-11-04 03:31:45 -04:00 committed by nick black
parent e44db13837
commit 7123b689ec

View File

@ -68,7 +68,10 @@ TEST_CASE("Direct") {
ncchannels_set_bg_default(&chans);
ncdirect_set_bg_rgb8(nc_, 0x88, 0x88, 0x88);
printf("test background\n");
CHECK(0 == ncdirect_ascii_box(nc_, chans, chans, chans, chans, 8, 8, 0));
for(unsigned r = 2 ; r < 8 ; ++r){
CHECK(0 == ncdirect_ascii_box(nc_, chans, chans, chans, chans, r, r, 0));
printf("\n");
}
}
#ifndef NOTCURSES_USE_MULTIMEDIA