MCPcopy Create free account
hub / github.com/numpy/numpy / test_right_open_reverse

Method test_right_open_reverse

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

Source from the content-addressed store, hash-verified

1924 assert_array_equal(digitize(x, bins, True), np.arange(11))
1925
1926 def test_right_open_reverse(self):
1927 x = np.arange(5, -6, -1)
1928 bins = np.arange(4, -6, -1)
1929 assert_array_equal(digitize(x, bins, True), np.arange(11))
1930
1931 def test_right_open_random(self):
1932 x = rand(10)

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
digitizeFunction · 0.90

Tested by

no test coverage detected