def test_auto_detection() -> None:
        """Test auto-detection when dataset_name is not provided."""
        input_path = Path("/any/folder/structure/normal/image.png")
        output_path = Path("./out")
        result = generate_output_filename(input_path, output_path)
        assert result == Path("./out/normal/image.png")
Test auto-detection when dataset_name is not provided.
tests/unit/data/utils/test_path.py