(func, *args, **kwargs)
| 215 | @pytest.mark.parametrize("sz", [None, 5, (2, 2)], ids=type) |
| 216 | def test_random_all_with_class_methods(generator_class, sz): |
| 217 | def rnd_test(func, *args, **kwargs): |
| 218 | a = func(*args, **kwargs) |
| 219 | assert type(a._meta) == np.ndarray |
| 220 | assert_eq(a, a) # Check that _meta and computed arrays match types |
| 221 | |
| 222 | rnd_test(generator_class().beta, 1, 2, size=sz, chunks=3) |
| 223 | rnd_test(generator_class().binomial, 10, 0.5, size=sz, chunks=3) |
no test coverage detected