From 76bcb8f0affa8bc6f25465039bb0e86b94f97a01 Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 14 Apr 2021 09:36:00 -0400 Subject: [PATCH] zaxis test: update to api3 --- src/tests/zaxis.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/zaxis.cpp b/src/tests/zaxis.cpp index 30c09e512..371512b7c 100644 --- a/src/tests/zaxis.cpp +++ b/src/tests/zaxis.cpp @@ -112,7 +112,7 @@ TEST_CASE("ZAxis") { SUBCASE("ZAxisDamage") { nccell cat = CELL_TRIVIAL_INITIALIZER; nccell c = CELL_CHAR_INITIALIZER('x'); - REQUIRE(!cell_set_fg_rgb8(&c, 0xff, 0, 0)); + REQUIRE(!nccell_set_fg_rgb8(&c, 0xff, 0, 0)); REQUIRE(1 == ncplane_putc(n_, &c)); CHECK(!notcurses_render(nc_)); REQUIRE(!ncplane_cursor_move_yx(n_, 0, 0)); @@ -129,7 +129,7 @@ TEST_CASE("ZAxis") { }; struct ncplane* n2 = ncplane_create(n_, &nopts); REQUIRE(1 == nccell_load(n2, &c, "y")); - REQUIRE(!cell_set_fg_rgb8(&c, 0, 0xff, 0)); + REQUIRE(!nccell_set_fg_rgb8(&c, 0, 0xff, 0)); REQUIRE(1 == ncplane_putc(n2, &c)); CHECK_EQ(0, notcurses_render(nc_)); REQUIRE(!ncplane_cursor_move_yx(n2, 0, 0)); @@ -137,7 +137,7 @@ TEST_CASE("ZAxis") { REQUIRE(0 == strcmp("y", nccell_extended_gcluster(n_, &c))); struct ncplane* n3 = ncplane_create(n_, &nopts); REQUIRE(1 == nccell_load(n3, &c, "z")); - REQUIRE(!cell_set_fg_rgb8(&c, 0, 0, 0xff)); + REQUIRE(!nccell_set_fg_rgb8(&c, 0, 0, 0xff)); REQUIRE(1 == ncplane_putc(n3, &c)); CHECK(!notcurses_render(nc_)); REQUIRE(!ncplane_cursor_move_yx(n3, 0, 0));