(self)
| 1929 | assert_array_equal(digitize(x, bins, True), np.arange(11)) |
| 1930 | |
| 1931 | def test_right_open_random(self): |
| 1932 | x = rand(10) |
| 1933 | bins = np.linspace(x.min(), x.max(), 10) |
| 1934 | assert_(np.all(digitize(x, bins, True) != 10)) |
| 1935 | |
| 1936 | def test_monotonic(self): |
| 1937 | x = [-1, 0, 1, 2] |