mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
extend Hebrew unit test #1174
This commit is contained in:
parent
eb85d26bd2
commit
61e51043a2
@ -15,11 +15,17 @@ TEST_CASE("Bidi") {
|
||||
|
||||
SUBCASE("Hebrew") {
|
||||
ncplane_set_scrolling(n_, true);
|
||||
CHECK(0 < ncplane_putstr(n_, "ט כשתקע המלאך החמישי בשופרו ראיתי כוכב נופל ארצה מן מהשמים, וניתן לו מפתח התהום"));
|
||||
CHECK(0 < ncplane_putstr(n_, "המלאך"));
|
||||
uint16_t stylemask;
|
||||
uint64_t channels;
|
||||
auto egc = ncplane_at_yx(n_, 0, 0, &stylemask, &channels);
|
||||
CHECK(0 == strcmp(egc, "ט"));
|
||||
REQUIRE(nullptr != egc);
|
||||
CHECK(0 == strcmp(egc, "ה"));
|
||||
free(egc);
|
||||
egc = ncplane_at_yx(n_, 0, 4, &stylemask, &channels);
|
||||
REQUIRE(nullptr != egc);
|
||||
CHECK(0 == strcmp(egc, "ך"));
|
||||
free(egc);
|
||||
// FIXME yes, we place this at 0,0 in our internal view...and yet it
|
||||
// is actually placed at the rightmost cell :/
|
||||
CHECK(0 == notcurses_render(nc_));
|
||||
|
Loading…
x
Reference in New Issue
Block a user