Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
card_zone_algorithms_test.cpp File Reference
#include "card_zone_algorithms.h"
#include <gtest/gtest.h>
#include <string>
#include <vector>
Include dependency graph for card_zone_algorithms_test.cpp:

Classes

struct  MockCardRef
struct  MockCard
class  MockCardList
class  AddCardAlgorithmTest

Functions

 TEST_F (AddCardAlgorithmTest, NegativeIndexClampsToEnd)
 TEST_F (AddCardAlgorithmTest, IndexBeyondSizeClampsToEnd)
 TEST_F (AddCardAlgorithmTest, ContentsKnownPreservesIdentity)
 TEST_F (AddCardAlgorithmTest, ContentsUnknownClearsIdentity)
 TEST_F (AddCardAlgorithmTest, MidListInsertionPreservesOrder)
 TEST_F (AddCardAlgorithmTest, RebuildInsertAtZeroReversesServerOrder)
 TEST_F (AddCardAlgorithmTest, RebuildAppendPreservesServerOrder)
 TEST_F (AddCardAlgorithmTest, KeepAnnotationsFalsePassedThrough)
 TEST_F (AddCardAlgorithmTest, KeepAnnotationsTruePassedThrough)
int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )
Here is the call graph for this function:

◆ TEST_F() [1/9]

TEST_F ( AddCardAlgorithmTest ,
ContentsKnownPreservesIdentity  )
Here is the call graph for this function:

◆ TEST_F() [2/9]

TEST_F ( AddCardAlgorithmTest ,
ContentsUnknownClearsIdentity  )
Here is the call graph for this function:

◆ TEST_F() [3/9]

TEST_F ( AddCardAlgorithmTest ,
IndexBeyondSizeClampsToEnd  )
Here is the call graph for this function:

◆ TEST_F() [4/9]

TEST_F ( AddCardAlgorithmTest ,
KeepAnnotationsFalsePassedThrough  )
Here is the call graph for this function:

◆ TEST_F() [5/9]

TEST_F ( AddCardAlgorithmTest ,
KeepAnnotationsTruePassedThrough  )
Here is the call graph for this function:

◆ TEST_F() [6/9]

TEST_F ( AddCardAlgorithmTest ,
MidListInsertionPreservesOrder  )
Here is the call graph for this function:

◆ TEST_F() [7/9]

TEST_F ( AddCardAlgorithmTest ,
NegativeIndexClampsToEnd  )
Here is the call graph for this function:

◆ TEST_F() [8/9]

TEST_F ( AddCardAlgorithmTest ,
RebuildAppendPreservesServerOrder  )
Here is the call graph for this function:

◆ TEST_F() [9/9]

TEST_F ( AddCardAlgorithmTest ,
RebuildInsertAtZeroReversesServerOrder  )
Here is the call graph for this function: