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

Method MockHandGenerator

library/tests/trans_table/mock_data_generators.cpp:14–16  ·  view source on GitHub ↗

MockHandGenerator implementation

Source from the content-addressed store, hash-verified

12
13// MockHandGenerator implementation
14MockHandGenerator::MockHandGenerator(unsigned int seed)
15 : generator_(seed), cardDist_(0, 12), suitDist_(0, 3) {
16}
17
18void MockHandGenerator::GenerateRandomDistribution(int hand_dist[DDS_HANDS])
19{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected