Cockatrice/tests/command_zone
DawnFire42 8422357878 feat(command-zone): add logic layer with tests
Implement CommandZoneLogic - the card data management layer for zones.
This layer handles card insertion, removal, and ordering independently
of Qt graphics rendering.

Key components:
- CommandZoneLogic: manages card data within a zone
- AddCardAlgorithm: generic insertion algorithm for ordered zones
- CardZoneLogic modifications: integrate with existing zone hierarchy

Design decisions:
- Separation of data logic from graphics enables unit testing
- addCardImpl uses a stable insertion algorithm for consistent ordering
- Mock card items enable testing without Qt graphics dependencies

Test coverage verifies card insertion behavior across edge cases.
2026-02-26 20:13:32 -05:00
..
mocks feat(command-zone): add logic layer with tests 2026-02-26 20:13:32 -05:00
CMakeLists.txt feat(command-zone): add logic layer with tests 2026-02-26 20:13:32 -05:00
command_zone_logic_test.cpp feat(command-zone): add logic layer with tests 2026-02-26 20:13:32 -05:00
command_zone_state_test.cpp feat(command-zone): add state machine with tests 2026-02-26 20:13:32 -05:00