def test_create_synthetic_dataset(synthetic_dataset: SyntheticAnomalyDataset) -> None:
        """Tests if the image and mask files listed in the synthetic dataset exist."""
        assert all(Path(path).exists() for path in synthetic_dataset.samples.image_path)
        assert all(Path(path).exists() for path in synthetic_dataset.samples.mask_path)
Tests if the image and mask files listed in the synthetic dataset exist.
tests/unit/data/utils/test_synthetic.py