(self)
| 735 | assert_(hist[1] == 0.0) |
| 736 | |
| 737 | def test_finite_range(self): |
| 738 | vals = np.random.random((100, 3)) |
| 739 | histogramdd(vals, range=[[0.0, 1.0], [0.25, 0.75], [0.25, 0.5]]) |
| 740 | assert_raises(ValueError, histogramdd, vals, |
| 741 | range=[[0.0, 1.0], [0.25, 0.75], [0.25, np.inf]]) |
| 742 | assert_raises(ValueError, histogramdd, vals, |
| 743 | range=[[0.0, 1.0], [np.nan, 0.75], [0.25, 0.5]]) |
| 744 | |
| 745 | def test_equal_edges(self): |
| 746 | """ Test that adjacent entries in an edge array can be equal """ |
nothing calls this directly
no test coverage detected