def test_all_merged(get_merging_mechanism: PredictionMergingMechanism) -> None:
        """Test that all keys are present in merged output."""
        merging_mechanism = get_merging_mechanism
        merged_direct = merging_mechanism.merge_tile_predictions(0)

        for key in [
            "image_path",
            "mask_path",
            "gt_label",
            "gt_mask",
            "image",
            "anomaly_map",
            "pred_mask",
            "pred_label",
            "pred_score",
        ]:
            assert hasattr(merged_direct, key)
Test that all keys are present in merged output.
tests/unit/pipelines/tiled_ensemble/test_components.py