Skip to content

Commit

Permalink
Ncpp unit tests: set base on plane before creating visual #1490
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed May 29, 2021
1 parent 0d5da54 commit fadc3b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tests/Ncpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,10 @@ TEST_CASE("Ncpp"
NotCurses nc{ nopts };
{
auto n = nc.get_stdplane();
uint64_t chan = CHANNELS_RGB_INITIALIZER(0x22, 0xdd, 0x44, 0, 0, 0);
n->set_base(" ", 0, chan);
REQUIRE(n);
// FIXME load something onto standard plane, load it into visual, erase
// plane, render visual, check for equivalence...
// FIXME load it into visual, erase plane, render visual, check for equivalence...
{
Visual v = Visual(*n, NCBLIT_1x1, 0, 0, -1, -1);
}
Expand Down

0 comments on commit fadc3b6

Please sign in to comment.