Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
deck_hash_performance_test.cpp File Reference
#include "gtest/gtest.h"
#include <QDebug>
#include <libcockatrice/deck_list/deck_list.h>
Include dependency graph for deck_hash_performance_test.cpp:

Functions

 TEST (DeckHashTest, RepeatTest)
 TEST (DeckHashTest, NumberTest)
 TEST (DeckHashTest, UniquesTest)
 TEST (DeckHashTest, UniquesTestXor)
 TEST (DeckHashTest, DuplicatesTest)
int main (int argc, char **argv)

Variables

static constexpr int amount = 1e5
QString repeatDeck
QString numberDeck
QString uniquesDeck
QString uniquesXorDeck
QString duplicatesDeck

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

◆ TEST() [1/5]

TEST ( DeckHashTest ,
DuplicatesTest  )
Here is the call graph for this function:

◆ TEST() [2/5]

TEST ( DeckHashTest ,
NumberTest  )
Here is the call graph for this function:

◆ TEST() [3/5]

TEST ( DeckHashTest ,
RepeatTest  )
Here is the call graph for this function:

◆ TEST() [4/5]

TEST ( DeckHashTest ,
UniquesTest  )
Here is the call graph for this function:

◆ TEST() [5/5]

TEST ( DeckHashTest ,
UniquesTestXor  )
Here is the call graph for this function:

Variable Documentation

◆ amount

int amount = 1e5
staticconstexpr

◆ duplicatesDeck

QString duplicatesDeck

◆ numberDeck

QString numberDeck

◆ repeatDeck

QString repeatDeck

◆ uniquesDeck

QString uniquesDeck

◆ uniquesXorDeck

QString uniquesXorDeck