code: def test_bounding_box(self):
      from sahi.annotation import BoundingBox
  
      bbox_minmax = [30, 30, 100, 150]
      shift_amount = [50, 40]
  
      bbox = BoundingBox(bbox_minmax, shift_amount=[0, 0])
      expanded_bbox = bbox.get_expanded_box(ratio=0.1)
  
      bbox = BoundingBox(bbox_minmax, shift_amount=shift_amount)
      shifted_bbox = bbox.get_shifted_box()
  
      # compare
      self.assertEqual(expanded_bbox.to_xywh(), [18, 23, 94, 134])
      self.assertEqual(expanded_bbox.to_xyxy(), [18, 23, 112, 157])
      self.assertEqual(shifted_bbox.to_xyxy(), [80, 70, 150, 190])
  
imports: import unittest
label_desc: Use image node_id 1 for calling the TestAnnotation obj's underlying member method code with example usage: obj.test_bounding_box() without return types