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

Function test_hstack

dask/array/tests/test_routines.py:1636–1643  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1634
1635
1636def test_hstack():
1637 x = np.arange(5)
1638 y = np.ones(5)
1639 a = da.arange(5, chunks=2)
1640 b = da.ones(5, chunks=2)
1641
1642 assert_eq(np.hstack((x[None, :], y[None, :])), da.hstack((a[None, :], b[None, :])))
1643 assert_eq(np.hstack((x, y)), da.hstack((a, b)))
1644
1645
1646def test_dstack():

Callers

nothing calls this directly

Calls 3

assert_eqFunction · 0.90
arangeMethod · 0.45
onesMethod · 0.45

Tested by

no test coverage detected