code: def test_output(self, input_boxes, input_scores, target_anomaly_maps):
      out_maps = boxes_to_anomaly_maps(
          input_boxes,
          input_scores,
          image_size=target_anomaly_maps.shape[-2:],
      )
      assert torch.all(out_maps == target_anomaly_maps)
  
imports: import pytest
  import torch
  from torch import Tensor
  from anomalib.data.utils.boxes import boxes_to_anomaly_maps, boxes_to_masks, masks_to_boxes
label_desc: Use image node_id 1 for calling the TestBoxesToAnomalyMaps obj's underlying member method code with example usage: obj.test_output(input_boxes, input_scores, target_anomaly_maps) without return types