()
| 124 | |
| 125 | def test_select_masks_wrong_mask_ids(): |
| 126 | def test_data(): |
| 127 | polygons = [np.array([[0, 0, 2], [1, 3, 5], [2, 6, 8]], dtype=np.int32)] |
| 128 | vertices = [np.array(np.random.rand(9, 2), dtype=np.float32)] |
| 129 | mask_ids = [np.array([10, 11], dtype=np.int32)] # out of bounds ids |
| 130 | return polygons, vertices, mask_ids |
| 131 | |
| 132 | _test_select_masks_wrong_input( |
| 133 | lambda: test_data(), err_regex="Selected mask_id .* is not present in the input\\." |
no outgoing calls
no test coverage detected