def test_validate_gt_mask_valid(self) -> None:
        """Test validation of valid ground truth masks."""
        masks = np.zeros((4, 224, 224), dtype=np.uint8)
        validated_masks = self.validator.validate_gt_mask(masks)
        assert isinstance(validated_masks, np.ndarray)
        assert validated_masks.shape == (4, 224, 224)
        assert validated_masks.dtype == bool
Test validation of valid ground truth masks.
tests/unit/data/validators/numpy/test_image.py