(self)
| 5108 | assert_equal(test, control) |
| 5109 | |
| 5110 | def test_on_ndarray(self): |
| 5111 | # Test functions on ndarrays |
| 5112 | a = np.array([1, 2, 3, 4]) |
| 5113 | m = array(a, mask=False) |
| 5114 | test = anom(a) |
| 5115 | assert_equal(test, m.anom()) |
| 5116 | test = reshape(a, (2, 2)) |
| 5117 | assert_equal(test, m.reshape(2, 2)) |
| 5118 | |
| 5119 | def test_compress(self): |
| 5120 | # Test compress function on ndarray and masked array |
nothing calls this directly
no test coverage detected