MCPcopy Create free account
hub / github.com/dds-bridge/dds / CardPattern

Class CardPattern

library/tests/trans_table/trans_table_l_test.cpp:467–472  ·  view source on GitHub ↗

Test complex card pattern scenarios for large tables

Source from the content-addressed store, hash-verified

465TEST(TransTableLComplexTest, ComplexCardPatternMatching) {
466 // Test complex card pattern scenarios for large tables
467 struct CardPattern {
468 unsigned short pattern[DDS_SUITS];
469 unsigned short win_ranks[DDS_SUITS];
470 bool shouldMatch;
471 const char* description;
472 };
473
474 CardPattern testCases[] = {
475 {{0x1F00, 0x0F80, 0x07C0, 0x03E0}, {0x1000, 0x0800, 0x0400, 0x0200}, true, "High cards with wins"},

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected