MCPcopy Create free account
hub / github.com/dask/dask / test_consistent_across_sizes

Function test_consistent_across_sizes

dask/array/tests/test_random.py:150–155  ·  view source on GitHub ↗
(generator_class)

Source from the content-addressed store, hash-verified

148
149
150def test_consistent_across_sizes(generator_class):
151 x1 = generator_class(123).random(20, chunks=20)
152 x2 = generator_class(123).random(100, chunks=20)[:20]
153 x3 = generator_class(123).random(200, chunks=20)[:20]
154 assert_eq(x1, x2)
155 assert_eq(x1, x3)
156
157
158@pytest.mark.parametrize("sz", [None, 5, (2, 2)], ids=type)

Callers

nothing calls this directly

Calls 3

assert_eqFunction · 0.90
generator_classFunction · 0.85
randomMethod · 0.45

Tested by

no test coverage detected