Get random number from 0 to max-1.
(self, max_val)
| 328 | |
| 329 | # ========== RANDOM ========== |
| 330 | def random(self, max_val): |
| 331 | """Get random number from 0 to max-1.""" |
| 332 | import random |
| 333 | return random.randint(0, max_val - 1) |
| 334 | |
| 335 | def seed_random(self, seed): |
| 336 | """Seed the random number generator.""" |
nothing calls this directly
no outgoing calls
no test coverage detected