Wildmeshing Toolkit
|
/data/unit_test/
, you can refer to those existing JSON files to learn how to write it./data/unit_test/meshes
. Please check first, if one of the existing meshes is suitable for your integration test./components/tests/integration_test.cpp
, i.e. add the line WMTK_INTEGRATION("YOUR TEST NAME", false);
.DO_VALIDATION
parameter false
, i.e. WMTK_INTEGRATION("YOUR TEST NAME", false);
. The integration test will then add the test output (number of simplices) to your JSON. Afterward, set the parameter to true
. Now, the integration test will compare the result with your original output and fail if the two do not match.Look at integrations_test.cpp
for more details.