def test_validate_image_valid(self) -> None:
        """Test validation of a valid depth image."""
        image = torch.rand(3, 224, 224)
        validated_image = self.validator.validate_image(image)
        assert isinstance(validated_image, Image)
        assert validated_image.shape == (3, 224, 224)
        assert validated_image.dtype == torch.float32
Test validation of a valid depth image.
tests/unit/data/validators/torch/test_depth.py