code: def test_thresholds_between_min_and_max():
      preds = Tensor([1, 10])
      assert torch_all(
          thresholds_between_min_and_max(preds, 2) == preds
      )
  
imports: from torch import Tensor, all
  from anomalib.utils.metrics.binning import thresholds_between_min_and_max, thresholds_between_0_and_1
label_desc: Use image node_id 1 for calling a global function with example usage: test_thresholds_between_min_and_max() without return types