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

Function test_contract_tuple

dask/array/tests/test_reshape.py:71–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70
71def test_contract_tuple():
72 assert contract_tuple((1, 1, 2, 3, 1), 2) == (2, 2, 2, 2)
73 assert contract_tuple((1, 1, 2, 5, 1), 2) == (2, 2, 4, 2)
74 assert contract_tuple((2, 4), 2) == (2, 4)
75 assert contract_tuple((2, 4), 3) == (6,)
76
77
78def test_reshape_unknown_sizes():

Callers

nothing calls this directly

Calls 1

contract_tupleFunction · 0.90

Tested by

no test coverage detected