code: def test_adjust_breaks_right():
      def _test(a, b):
          assert b[0] <= a[0]
          assert all(a[1:] <= b[1:])
  
      # All positive
      a = np.linspace(1, 2, 11)
      b = _adjust_breaks(a, right=True)
      _test(a, b)
  
      # zero on the Left
      a = np.linspace(0, 1, 11)
      b = _adjust_breaks(a, right=True)
      _test(a, b)
  
      # zero on the right
      a = np.linspace(-1, 0, 11)
      b = _adjust_breaks(a, right=True)
      _test(a, b)
  
      # All negative
      a = np.linspace(-2, -1, 11)
      b = _adjust_breaks(a, right=True)
      _test(a, b)
  
imports: import numpy
  from plotnine.scales import scale_x_continuous, scale_x_discrete
  from plotnine.stats.binning import _adjust_breaks, breaks_from_bins, breaks_from_binwidth, fuzzybreaks
label_desc: Use image node_id 4 for calling a global function with example usage: test_adjust_breaks_right() without return types