def test_validate_depth_map_invalid_dimensions(self) -> None:
        """Test validation of a depth map with invalid dimensions."""
        with pytest.raises(ValueError, match="Depth map with 3 dimensions must have 1 channel, got 2."):
            self.validator.validate_depth_map(np.zeros((224, 224, 2)))
Test validation of a depth map with invalid dimensions.
tests/unit/data/validators/numpy/test_depth.py