Skip to content

Commit

Permalink
beef up directmode directf tests dankamongmen#1664
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed May 16, 2021
1 parent f5160f5 commit 8df01c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tests/direct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ TEST_CASE("DirectMode") {
CHECK(475 == geom.pixy);
CHECK(860 == geom.pixx);
CHECK(NCBLIT_DEFAULT != blitter);
auto ncdv = ncdirectf_render(nc_, dirf, blitter, NCSCALE_NONE, 0, 0);
CHECK(nullptr != ncdv);
CHECK(0 == ncdirect_raster_frame(nc_, ncdv, NCALIGN_LEFT));
ncdirectf_free(dirf);
}

Expand All @@ -94,6 +97,9 @@ TEST_CASE("DirectMode") {
CHECK(NCBLIT_PIXEL == blitter);
CHECK(geom.cdimy == geom.scaley);
CHECK(geom.cdimx == geom.scalex);
auto ncdv = ncdirectf_render(nc_, dirf, blitter, NCSCALE_NONE, 0, 0);
CHECK(nullptr != ncdv);
CHECK(0 == ncdirect_raster_frame(nc_, ncdv, NCALIGN_LEFT));
ncdirectf_free(dirf);
}
}
Expand Down

0 comments on commit 8df01c2

Please sign in to comment.