(self)
| 172 | self.check_clump(clump_masked) |
| 173 | |
| 174 | def test_clump_unmasked(self): |
| 175 | # Test clump_unmasked |
| 176 | a = masked_array(np.arange(10)) |
| 177 | a[[0, 1, 2, 6, 8, 9]] = masked |
| 178 | test = clump_unmasked(a) |
| 179 | control = [slice(3, 6), slice(7, 8), ] |
| 180 | assert_equal(test, control) |
| 181 | |
| 182 | self.check_clump(clump_unmasked) |
| 183 | |
| 184 | def test_flatnotmasked_contiguous(self): |
| 185 | # Test flatnotmasked_contiguous |
nothing calls this directly
no test coverage detected