mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
Wide unit tests; test other side
This commit is contained in:
parent
706d492ecd
commit
ed0d9d8a8e
@ -909,6 +909,16 @@ TEST_CASE("Wide") {
|
||||
egc = notcurses_at_yx(nc_, 0, 1, nullptr, nullptr);
|
||||
CHECK(0 == strcmp(egc, ""));
|
||||
free(egc);
|
||||
CHECK(0 == ncplane_move_yx(high, 0, 1));
|
||||
CHECK(0 == notcurses_render(nc_));
|
||||
egc = notcurses_at_yx(nc_, 0, 0, nullptr, nullptr);
|
||||
REQUIRE(nullptr != egc);
|
||||
CHECK(0 == strcmp(egc, " "));
|
||||
free(egc);
|
||||
egc = notcurses_at_yx(nc_, 0, 1, nullptr, nullptr);
|
||||
CHECK(0 == strcmp(egc, "a"));
|
||||
free(egc);
|
||||
ncplane_destroy(high);
|
||||
}
|
||||
|
||||
CHECK(0 == notcurses_stop(nc_));
|
||||
|
Loading…
x
Reference in New Issue
Block a user