code: def test_box_scores(self, input_masks, input_maps, target_scores):
      _, out_scores = masks_to_boxes(input_masks, input_maps)
      assert all(
          torch.all(out == target)
          for out, target in zip(out_scores, target_scores)
      )
  
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 3 for calling the TestMasksToBoxes obj's underlying member method code with example usage: obj.test_box_scores(input_masks, input_maps, target_scores) without return types