thorvg/test
Hermet Park 6b7aa8ad9e
tests: introduce catch2 unit tests infrastructure.
Catch2 is a multi-paradigm test framework for C++.
It is primarily distributed as a single header file,
very easy and simple to adopt this to thorvg project.

This patch introduces catch2 infrastsructure and one prototype as a sample.

You can refer "testInitializer.cpp", how to add unit test!
while ignoring else files such as "catch2.hpp", "testMain.cpp"

Also, enable Unit-tests with meson option when you change any thorvg code.

$meson build -Dtests=true.

launch tvgUnitTest in the build result then verify 100% coverage
before submitting any patches.
2021-06-04 16:46:34 +09:00
..
wasm test: remove gtest & its infra. 2021-06-03 17:38:07 +09:00
catch.hpp tests: introduce catch2 unit tests infrastructure. 2021-06-04 16:46:34 +09:00
meson.build tests: introduce catch2 unit tests infrastructure. 2021-06-04 16:46:34 +09:00
testInitializer.cpp tests: introduce catch2 unit tests infrastructure. 2021-06-04 16:46:34 +09:00
testMain.cpp tests: introduce catch2 unit tests infrastructure. 2021-06-04 16:46:34 +09:00