(self)
| 645 | assert_array_equal(H, Z) |
| 646 | |
| 647 | def test_shape_3d(self): |
| 648 | # All possible permutations for bins of different lengths in 3D. |
| 649 | bins = ((5, 4, 6), (6, 4, 5), (5, 6, 4), (4, 6, 5), (6, 5, 4), |
| 650 | (4, 5, 6)) |
| 651 | r = np.random.rand(10, 3) |
| 652 | for b in bins: |
| 653 | H, edges = histogramdd(r, b) |
| 654 | assert_(H.shape == b) |
| 655 | |
| 656 | def test_shape_4d(self): |
| 657 | # All possible permutations for bins of different lengths in 4D. |
nothing calls this directly
no test coverage detected