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

Function compare_table

examples/hands.cpp:337–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335
336
337auto compare_table(DdTableResults * table, int handno) -> bool
338{
339 for (int suit = 0; suit < DDS_STRAINS; suit++)
340 {
341 for (int pl = 0; pl <= 3; pl++)
342 {
343 if (table->res_table[suit][pl] != dd_table_[handno][4 * suit + pl])
344 return false;
345 }
346 }
347 return true;
348}
349
350
351auto print_table(DdTableResults * table) -> void

Callers 4

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected