|
|
@ -102,6 +102,7 @@ TEST_CASE("Stacking") {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SUBCASE("StackedQuadHalves") {
|
|
|
|
SUBCASE("StackedQuadHalves") {
|
|
|
|
|
|
|
|
if(nc_->tcache.quadrants){
|
|
|
|
struct ncplane_options opts = {
|
|
|
|
struct ncplane_options opts = {
|
|
|
|
0, 0, 1, 1, nullptr, "top", nullptr, 0, 0, 0,
|
|
|
|
0, 0, 1, 1, nullptr, "top", nullptr, 0, 0, 0,
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -137,8 +138,10 @@ TEST_CASE("Stacking") {
|
|
|
|
CHECK(0x00ff00 == channels_bg_rgb(channels));
|
|
|
|
CHECK(0x00ff00 == channels_bg_rgb(channels));
|
|
|
|
ncplane_destroy(top);
|
|
|
|
ncplane_destroy(top);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
SUBCASE("StackedQuadCrossed") {
|
|
|
|
SUBCASE("StackedQuadCrossed") {
|
|
|
|
|
|
|
|
if(nc_->tcache.quadrants){
|
|
|
|
ncplane_erase(n_);
|
|
|
|
ncplane_erase(n_);
|
|
|
|
notcurses_refresh(nc_, nullptr, nullptr);
|
|
|
|
notcurses_refresh(nc_, nullptr, nullptr);
|
|
|
|
struct ncplane_options opts = {
|
|
|
|
struct ncplane_options opts = {
|
|
|
@ -176,6 +179,7 @@ TEST_CASE("Stacking") {
|
|
|
|
CHECK(0xffffff == channels_bg_rgb(channels));
|
|
|
|
CHECK(0xffffff == channels_bg_rgb(channels));
|
|
|
|
ncplane_destroy(top);
|
|
|
|
ncplane_destroy(top);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// common teardown
|
|
|
|
// common teardown
|
|
|
|
CHECK(0 == notcurses_stop(nc_));
|
|
|
|
CHECK(0 == notcurses_stop(nc_));
|
|
|
|