def test_create_from_dataset(synthetic_dataset_from_samples: SyntheticAnomalyDataset) -> None:
        """Test if the synthetic dataset is instantiated correctly from samples df."""
        assert all(Path(path).exists() for path in synthetic_dataset_from_samples.samples.image_path)
        assert all(Path(path).exists() for path in synthetic_dataset_from_samples.samples.mask_path)
Test if the synthetic dataset is instantiated correctly from samples df.
tests/unit/data/utils/test_synthetic.py