Tests that the minimum and maximum integer value the RNG can produce corresponds to the underlying type's maximum range.
()
| 6 | |
| 7 | |
| 8 | def test_bounds(): |
| 9 | """ |
| 10 | Tests that the minimum and maximum integer value the RNG can produce |
| 11 | corresponds to the underlying type's maximum range. |
| 12 | """ |
| 13 | assert_equal(RandomNumberGenerator.min(), 0) |
| 14 | assert_equal(RandomNumberGenerator.max(), np.iinfo(np.uint32).max) |
| 15 | |
| 16 | |
| 17 | def test_call(): |