Cockatrice 2026-04-21-Development-2.11.0-beta.61
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 <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, KeepAnnotationsFalsePassedThrough)
 TEST_F (AddCardAlgorithmTest, KeepAnnotationsTruePassedThrough)
int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

◆ TEST_F() [1/7]

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

◆ TEST_F() [2/7]

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

◆ TEST_F() [3/7]

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

◆ TEST_F() [4/7]

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

◆ TEST_F() [5/7]

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

◆ TEST_F() [6/7]

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

◆ TEST_F() [7/7]

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