| 164 | } |
| 165 | |
| 166 | void MockPositionGenerator::GenerateEndGamePosition( |
| 167 | int& trick, int& hand, |
| 168 | unsigned short aggrTarget[DDS_SUITS], |
| 169 | int hand_dist[DDS_HANDS]) { |
| 170 | |
| 171 | trick = std::uniform_int_distribution<int>(10, 13)(generator_); |
| 172 | hand = hand_dist_(generator_); |
| 173 | |
| 174 | GenerateComplexAggrTarget(aggrTarget); |
| 175 | |
| 176 | for (int h = 0; h < DDS_HANDS; h++) { |
| 177 | hand_dist[h] = 13 - trick + 1; |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | void MockPositionGenerator::GenerateAggrTarget(unsigned short aggrTarget[DDS_SUITS], int complexity) |
| 182 | { |
no outgoing calls
no test coverage detected