(self)
| 684 | assert_array_equal(edges[0], np.array([-0.5, 0., 0.5])) |
| 685 | |
| 686 | def test_empty(self): |
| 687 | a, b = histogramdd([[], []], bins=([0, 1], [0, 1])) |
| 688 | assert_array_max_ulp(a, np.array([[0.]])) |
| 689 | a, b = np.histogramdd([[], [], []], bins=2) |
| 690 | assert_array_max_ulp(a, np.zeros((2, 2, 2))) |
| 691 | |
| 692 | def test_bins_errors(self): |
| 693 | # There are two ways to specify bins. Check for the right errors |
nothing calls this directly
no test coverage detected