(self)
| 135 | self.check_clump(clump_masked) |
| 136 | |
| 137 | def test_clump_unmasked(self): |
| 138 | # Test clump_unmasked |
| 139 | a = masked_array(np.arange(10)) |
| 140 | a[[0, 1, 2, 6, 8, 9]] = masked |
| 141 | test = clump_unmasked(a) |
| 142 | control = [slice(3, 6), slice(7, 8), ] |
| 143 | assert_equal(test, control) |
| 144 | |
| 145 | self.check_clump(clump_unmasked) |
| 146 | |
| 147 | def test_flatnotmasked_contiguous(self): |
| 148 | # Test flatnotmasked_contiguous |
nothing calls this directly
no test coverage detected