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

Function CreateBasicHandLookup

library/tests/trans_table/trans_table_s_test.cpp:12–18  ·  view source on GitHub ↗

Helper function to create a simple hand lookup table

Source from the content-addressed store, hash-verified

10
11// Helper function to create a simple hand lookup table
12static void CreateBasicHandLookup(int handLookup[15][15]) {
13 for (int i = 0; i < 15; ++i) {
14 for (int j = 0; j < 15; ++j) {
15 handLookup[i][j] = (i + j) % 4; // Simple pattern
16 }
17 }
18}
19
20// Helper function to create test aggregate target
21static void CreateTestAggrTarget(unsigned short aggrTarget[DDS_SUITS]) {

Callers 1

TESTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected