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

Method test_right_open_reverse

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

Source from the content-addressed store, hash-verified

2181 assert_array_equal(digitize(x, bins, True), np.arange(11))
2182
2183 def test_right_open_reverse(self):
2184 x = np.arange(5, -6, -1)
2185 bins = np.arange(4, -6, -1)
2186 assert_array_equal(digitize(x, bins, True), np.arange(11))
2187
2188 def test_right_open_random(self):
2189 x = rand(10)

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
digitizeFunction · 0.90

Tested by

no test coverage detected