|
|
@ -41,12 +41,6 @@ TEST_CASE("NotcursesBase") {
|
|
|
|
CHECK(newy == y);
|
|
|
|
CHECK(newy == y);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// we should at least have NCSTYLE_BOLD everywhere, i should think?
|
|
|
|
|
|
|
|
SUBCASE("CursesStyles") {
|
|
|
|
|
|
|
|
unsigned attrs = notcurses_supported_styles(nc_);
|
|
|
|
|
|
|
|
CHECK(1 == !!(NCSTYLE_BOLD & attrs));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// it is an error to attempt to destroy the standard plane
|
|
|
|
// it is an error to attempt to destroy the standard plane
|
|
|
|
SUBCASE("RejectDestroyStdPlane") {
|
|
|
|
SUBCASE("RejectDestroyStdPlane") {
|
|
|
|
ncplane* ncp = notcurses_stdplane(nc_);
|
|
|
|
ncplane* ncp = notcurses_stdplane(nc_);
|
|
|
|