diff --git a/test/images/tag.svg b/test/images/tag.svg index 54e20515..f38ca4d8 100644 --- a/test/images/tag.svg +++ b/test/images/tag.svg @@ -1,8 +1,8 @@ - + - + @@ -29,13 +29,13 @@ - + - + - + @@ -49,4 +49,4 @@ - \ No newline at end of file + diff --git a/test/testPicture.cpp b/test/testPicture.cpp index 3ca2c6ba..6a52fd62 100644 --- a/test/testPicture.cpp +++ b/test/testPicture.cpp @@ -276,6 +276,7 @@ TEST_CASE("Load SVG file and render", "[tvgPicture]") REQUIRE(picture); REQUIRE(picture->load(TEST_DIR"/tag.svg") == Result::Success); + REQUIRE(picture->size(100, 100) == Result::Success); REQUIRE(canvas->push(move(picture)) == Result::Success); REQUIRE(canvas->draw() == Result::Success);