def test_folder_dataset() -> None:
        """Test handling of folder-based datasets."""
        input_path = Path("/datasets/MyDataset/normal/image001.png")
        output_path = Path("./output")
        result = generate_output_filename(input_path, output_path, "MyDataset")
        assert result == Path("./output/normal/image001.png")
Test handling of folder-based datasets.
tests/unit/data/utils/test_path.py