code: def test_random_object_bbox_auto_bg():
      for fg, expected_bg in [
          ([1, 2, 3], 0),
          ([0, 1, 2], -1),
          ([-1, 1], 0),
          ([0, -5], -6),
          ([-0x80000000, 0x7FFFFFFF], 0),
          ([-0x80000000, 0x7FFFFFFF, 0, 0x7FFFFFFE], 0x7FFFFFFD),
      ]:
          yield _test_random_object_bbox_auto_bg, fg, expected_bg
  
imports: from nose_utils import assert_raises
  import nvidia.dali
  import nvidia.dali.fn
  import nvidia.dali.ops
  import numpy
  import scipy.ndimage
  import scipy.ndimage.measurements
  import random
  from test_utils import check_batch, np_type_to_dali
  from nose.tools import nottest
  from nose.plugins.attrib import attr
label_desc: Use image node_id 28 for calling a global function with example usage: test_random_object_bbox_auto_bg() without return types