Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
deck_list_zones_test.cpp File Reference

Tests for custom deck zones (deck-unique zones nested under a board zone). More...

Include dependency graph for deck_list_zones_test.cpp:

Functions

 TEST (DeckListZones, AddCustomZoneNestsUnderBoard)
 TEST (DeckListZones, CustomZoneNamesAreDeckUnique)
 TEST (DeckListZones, AddCustomZoneUnknownBoardFails)
 TEST (DeckListZones, MaybeboardIsLazilyCreated)
 TEST (DeckListZones, AddCardToCustomZoneKeepsBoardSemantics)
 TEST (DeckListZones, LegacyTopLevelZoneStillWorks)
 TEST (DeckListZones, RenameCustomZone)
 TEST (DeckListZones, MoveCustomZoneMovesCards)
 TEST (DeckListZones, RemoveCustomZoneRemovesCards)
 TEST (DeckListZones, EmptyCustomZoneIsKeptOnCardDeletion)
 TEST (DeckListZones, HashCountsCustomZoneCardsByBoard)
 TEST (DeckListZones, SideboardSizeCountsCustomZoneCards)
 TEST (DeckListZones, PlainExportIncludesMainAndSideCustomZones)
 TEST (DeckListZones, PlainExportSkipsMaybeboardCustomZones)
 TEST (DeckListZones, NativeRoundTripPreservesCustomZones)
 TEST (DeckListZones, MaybeboardCustomZoneCardsAreExcludedFromHash)
int main (int argc, char **argv)

Detailed Description

Tests for custom deck zones (deck-unique zones nested under a board zone).

Custom zones allow players to organize cards within a board (e.g. "Removal" under the mainboard) without changing the board semantics: cards in a custom zone under "main" are still mainboard cards for hashing, sideboard size, legality and export.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

◆ TEST() [1/16]

TEST ( DeckListZones ,
AddCardToCustomZoneKeepsBoardSemantics  )
Here is the call graph for this function:

◆ TEST() [2/16]

TEST ( DeckListZones ,
AddCustomZoneNestsUnderBoard  )
Here is the call graph for this function:

◆ TEST() [3/16]

TEST ( DeckListZones ,
AddCustomZoneUnknownBoardFails  )
Here is the call graph for this function:

◆ TEST() [4/16]

TEST ( DeckListZones ,
CustomZoneNamesAreDeckUnique  )
Here is the call graph for this function:

◆ TEST() [5/16]

TEST ( DeckListZones ,
EmptyCustomZoneIsKeptOnCardDeletion  )
Here is the call graph for this function:

◆ TEST() [6/16]

TEST ( DeckListZones ,
HashCountsCustomZoneCardsByBoard  )
Here is the call graph for this function:

◆ TEST() [7/16]

TEST ( DeckListZones ,
LegacyTopLevelZoneStillWorks  )
Here is the call graph for this function:

◆ TEST() [8/16]

TEST ( DeckListZones ,
MaybeboardCustomZoneCardsAreExcludedFromHash  )
Here is the call graph for this function:

◆ TEST() [9/16]

TEST ( DeckListZones ,
MaybeboardIsLazilyCreated  )
Here is the call graph for this function:

◆ TEST() [10/16]

TEST ( DeckListZones ,
MoveCustomZoneMovesCards  )
Here is the call graph for this function:

◆ TEST() [11/16]

TEST ( DeckListZones ,
NativeRoundTripPreservesCustomZones  )
Here is the call graph for this function:

◆ TEST() [12/16]

TEST ( DeckListZones ,
PlainExportIncludesMainAndSideCustomZones  )
Here is the call graph for this function:

◆ TEST() [13/16]

TEST ( DeckListZones ,
PlainExportSkipsMaybeboardCustomZones  )
Here is the call graph for this function:

◆ TEST() [14/16]

TEST ( DeckListZones ,
RemoveCustomZoneRemovesCards  )
Here is the call graph for this function:

◆ TEST() [15/16]

TEST ( DeckListZones ,
RenameCustomZone  )
Here is the call graph for this function:

◆ TEST() [16/16]

TEST ( DeckListZones ,
SideboardSizeCountsCustomZoneCards  )
Here is the call graph for this function: