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

Function test_tile_np_kroncompare_examples

dask/array/tests/test_creation.py:803–807  ·  view source on GitHub ↗
(shape, reps)

Source from the content-addressed store, hash-verified

801)
802@pytest.mark.parametrize("reps", [(2,), (1, 2), (2, 1), (2, 2), (2, 3, 2), (3, 2)])
803def test_tile_np_kroncompare_examples(shape, reps):
804 x = np.random.random(shape)
805 d = da.asarray(x)
806
807 assert_eq(np.tile(x, reps), da.tile(d, reps))
808
809
810@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
randomMethod · 0.45

Tested by

no test coverage detected