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

Method PrintDistribution

library/tests/trans_table/mock_data_generators.cpp:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void MockHandGenerator::PrintDistribution(const int hand_dist[DDS_HANDS]) const {
98 std::cout << "Hand distribution: [";
99 for (int hand = 0; hand < DDS_HANDS; hand++) {
100 if (hand > 0) std::cout << ", ";
101 std::cout << hand_dist[hand];
102 }
103 std::cout << "]\n";
104}
105
106void MockHandGenerator::EnsureValidTotalCards(int hand_dist[DDS_HANDS], int targetTotal)
107{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected