| 187 | } |
| 188 | |
| 189 | std::string |
| 190 | DefaultRndNumGenerator::RandomHexDigits( int num ) |
| 191 | { |
| 192 | if (!CGOptions::is_random()) |
| 193 | return AbsRndNumGenerator::RandomHexDigits(num); |
| 194 | |
| 195 | std::string str; |
| 196 | const char* hex1 = AbsRndNumGenerator::get_hex1(); |
| 197 | while (num--) { |
| 198 | int x = genrand() % 16; |
| 199 | str += hex1[x]; |
| 200 | seq_->add_number(x, 16, rand_depth_); |
| 201 | rand_depth_++; |
| 202 | } |
| 203 | return str; |
| 204 | } |
| 205 | |
| 206 | std::string |
| 207 | DefaultRndNumGenerator::RandomDigits( int num ) |
nothing calls this directly
no test coverage detected