| 45 | } |
| 46 | |
| 47 | int DUtils::Random::RandomInt(int min, int max){ |
| 48 | int d = max - min + 1; |
| 49 | return int(((double)rand()/((double)RAND_MAX + 1.0)) * d) + min; |
| 50 | } |
| 51 | |
| 52 | // --------------------------------------------------------------------------- |
| 53 | // --------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected