Cockatrice/tests
DawnFire42 6943d64cdf
refactor: extract shared card insertion algorithm from hand/stack zones
Hand and stack zones had near-identical addCardImpl() implementations, differing only in whether resetState() preserves annotations.
Extract the shared pattern into a template function (CardZoneAlgorithms::addCardToList) to eliminate duplication and enable isolated testing without Qt dependencies.
Pile, table, and zone-view logic are intentionally excluded — their post-add behavior (signals, coordinate placement, hidden cards) is materially different.
2026-03-14 21:30:24 -04:00
..
card_zone_algorithms refactor: extract shared card insertion algorithm from hand/stack zones 2026-03-14 21:30:24 -04:00
carddatabase Update UnescapedStringListPart to include parentheses (#6631) 2026-02-25 23:55:34 -08:00
loading_from_clipboard [DeckList] Fix double-faced cards not importing correctly (#6665) 2026-03-06 11:48:17 -08:00
oracle Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212) 2025-10-09 07:36:12 +02:00
CMakeLists.txt refactor: extract shared card insertion algorithm from hand/stack zones 2026-03-14 21:30:24 -04:00
deck_hash_performance_test.cpp Hashing tests (#5026) 2025-12-23 17:48:10 +01:00
dummy_test.cpp Clang script (#3085) 2018-02-06 08:45:13 -05:00
expression_test.cpp Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212) 2025-10-09 07:36:12 +02:00
password_hash_test.cpp Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212) 2025-10-09 07:36:12 +02:00
test_age_formatting.cpp [Move refactor] Reparent orphan classes (#6236) 2025-10-09 14:15:19 +02:00