code: def test_output(self, input_masks, target_boxes):
      out_boxes, _ = masks_to_boxes(input_masks)
      assert [
          out_box == target_box
          for out_box, target_box in zip(out_boxes, target_boxes)
      ]
  
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 TestMasksToBoxes obj's underlying member method code with example usage: obj.test_output(input_masks, target_boxes) without return types