MCPcopy Index your code
hub / github.com/numpy/numpy / test_reverse

Method test_reverse

numpy/lib/tests/test_function_base.py:2160–2163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2158 assert_array_equal(digitize(x, bins), np.arange(11))
2159
2160 def test_reverse(self):
2161 x = np.arange(5, -6, -1)
2162 bins = np.arange(5, -5, -1)
2163 assert_array_equal(digitize(x, bins), np.arange(11))
2164
2165 def test_random(self):
2166 x = rand(10)

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
digitizeFunction · 0.90

Tested by

no test coverage detected