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

Method RanksToString

library/tests/trans_table/test_utilities.cpp:259–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259std::string PositionComparator::RanksToString(const unsigned short ranks[DDS_SUITS])
260{
261 std::ostringstream oss;
262 oss << "Ranks[";
263 for (int suit = 0; suit < DDS_SUITS; suit++) {
264 if (suit > 0) oss << ",";
265 oss << "0x" << std::hex << ranks[suit];
266 }
267 oss << "]";
268 return oss.str();
269}
270
271// TestDataValidator implementation
272bool TestDataValidator::IsValidHandDistribution(const int hand_dist[DDS_HANDS])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected