code: def test_ul():
      with rasterio.open("tests/data/RGB.byte.tif") as src:
          assert src.xy(0, 0, offset="ul") == (101985.0, 2826915.0)
          assert src.xy(1, 0, offset="ul") == (
              101985.0,
              2826614.95821727,
          )
          assert src.xy(src.height, src.width, offset="ul") == (
              339315.0,
              2611485.0,
          )
  
file_path: rasterio/tests/test_coords.py
imports: import numpy
  import rasterio
  from rasterio.coords import BoundingBox, disjoint_bounds
label_desc: Use image node_id 2 for calling a global function with example usage: test_ul() without return types