def test_cls_model_seg_dataset(
        engine: Engine,
        segmentation_datamodule: AnomalibDataModule,
        image_and_pixel_evaluator: Evaluator,
    ) -> None:
        """Test classification model with segmentation dataset."""
        model = DummyClassificationModel(evaluator=image_and_pixel_evaluator)
        engine.train(model, datamodule=segmentation_datamodule)
Test classification model with segmentation dataset.
tests/integration/test_task_types.py