(self)
| 4861 | assert_equal(test, control) |
| 4862 | |
| 4863 | def test_on_ndarray(self): |
| 4864 | # Test functions on ndarrays |
| 4865 | a = np.array([1, 2, 3, 4]) |
| 4866 | m = array(a, mask=False) |
| 4867 | test = anom(a) |
| 4868 | assert_equal(test, m.anom()) |
| 4869 | test = reshape(a, (2, 2)) |
| 4870 | assert_equal(test, m.reshape(2, 2)) |
| 4871 | |
| 4872 | def test_compress(self): |
| 4873 | # Test compress function on ndarray and masked array |
nothing calls this directly
no test coverage detected