mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-03 11:52:07 +00:00
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.
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: