| 139 | } |
| 140 | |
| 141 | double rand_interval(double rmin, double rmax) |
| 142 | { |
| 143 | double val = rand() / (static_cast<double>(RAND_MAX) + 1); |
| 144 | return (val * (rmax - rmin) + rmin); |
| 145 | } |
| 146 | |
| 147 | // --------------------------------------------------------------------------------------------------- |
| 148 | // Actual tests |
no outgoing calls