(generator_class)
| 296 | |
| 297 | |
| 298 | def test_multinomial(generator_class): |
| 299 | for size, chunks in [(5, 3), ((5, 4), (2, 3))]: |
| 300 | x = generator_class().multinomial(20, [1 / 6.0] * 6, size=size, chunks=chunks) |
| 301 | y = np.random.multinomial(20, [1 / 6.0] * 6, size=size) |
| 302 | |
| 303 | assert x.shape == y.shape == x.compute().shape |
| 304 | |
| 305 | |
| 306 | def test_choice(generator_class): |
nothing calls this directly
no test coverage detected