From 576c3411b99fcc1e596d6c873b136e0065b374d8 Mon Sep 17 00:00:00 2001 From: Julian Hinxlage Date: Thu, 24 Oct 2019 11:48:26 +0200 Subject: [PATCH] ~ fixed unit testing --- test/test_bitmap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_bitmap.cpp b/test/test_bitmap.cpp index b234e9d..1746a06 100644 --- a/test/test_bitmap.cpp +++ b/test/test_bitmap.cpp @@ -10,14 +10,14 @@ TEST_CASE("default values") { } TEST_CASE("load Bitmap") { - Bitmap bitmap = Bitmap("../res/font.bmp"); + Bitmap bitmap = Bitmap("../res/font1.bmp"); REQUIRE(bitmap.getWidth() == 128); REQUIRE(bitmap.getHeight() == 64); REQUIRE(bitmap.getBitsPerPixel() == 24); } TEST_CASE("Font") { - Font font("../res/font.bmp"); + Font font("../res/font1.bmp", "../res/font1.toml"); REQUIRE(font.width() == 5); REQUIRE(font.height() == 7); REQUIRE(!font.getPixel('a', 1,1));