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

Method MockWinRankGenerator

library/tests/trans_table/mock_data_generators.cpp:246–248  ·  view source on GitHub ↗

MockWinRankGenerator implementation

Source from the content-addressed store, hash-verified

244
245// MockWinRankGenerator implementation
246MockWinRankGenerator::MockWinRankGenerator(unsigned int seed)
247 : generator_(seed), rankDist_(0, 0x1FFF), coinFlip_(0.5) {
248}
249
250void MockWinRankGenerator::GenerateSimpleWinRanks(unsigned short win_ranks[DDS_SUITS])
251{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected