test: cover rendering a valid solution

Exercise Results::output() with the known order-8 fixture so Debug builds compile and run the rendering assertions. Check the output dimensions and ensure the valid tiling leaves no unrendered cells.

The test passes in Release and currently fails to compile in Debug because Results::set() refers to the nonexistent grid_ member.

Refs: #7
This commit is contained in:
Codex instance
2026-07-30 16:43:29 +01:00
parent 0b65501c73
commit 912d59fdd9
3 changed files with 39 additions and 1 deletions
+1
View File
@@ -13,5 +13,6 @@ if(BUILD_TESTING)
tests/tests.cc)
add_test(NAME validator COMMAND partridge_tests validator)
add_test(NAME construction COMMAND partridge_tests construction)
add_test(NAME rendering COMMAND partridge_tests rendering)
add_test(NAME solver-small COMMAND partridge_tests solver-small)
endif()