Files
Hanif Koh e92cce9c50 Check a Per-Filament Key That Must Grow in the Variant-Length Test
The last check in the test authored filament_colour with one entry and
asserted it still had one. filament_colour is not a plain per-filament
option, so enforce_per_filament_cardinality never touches it and the
check held with the enforcement removed.

The test now authors three filaments, one more than the two variants, and
a one-entry filament_vendor, a plain per-filament key, and asserts it
grows to three. With the enforcement disabled that check fails. With the
variant-bearing keys resized to the filament count instead, the two
variant-length checks fail.
2026-12-01 00:44:37 +08:00
..
2025-12-08 22:42:11 +08:00

OrcaSlicer tests

Building, running and writing tests is documented on the wiki, under How to Test.

Two files here rather than there, because coding agents only read what is in the repository:

  • AGENTS.md is the same guidance in short form, and is what an agent working under tests/ picks up.
  • CATCH2.md is the Catch2 reference, including the mistakes that break a test at runtime.