def test_validate_image_invalid_channels(self) -> None:
        """Test validation of a depth image with invalid number of channels."""
        with pytest.raises(ValueError, match="Image must have 3 channels"):
            self.validator.validate_image(torch.rand(1, 224, 224))
Test validation of a depth image with invalid number of channels.
tests/unit/data/validators/torch/test_depth.py