code: def test_mask_all_touched(
      basic_image, basic_image_file, basic_geometry
  ):
      """All pixels touched by geometry should be masked out as 3"""
  
      nodata = 3
      geometries = [basic_geometry]
  
      with rasterio.open(basic_image_file) as src:
          masked, transform = mask(
              src,
              geometries,
              nodata=nodata,
              invert=True,
              all_touched=True,
          )
  
      assert np.array_equal(masked[0], basic_image * nodata)
  
imports: import numpy
  import pytest
  from affine import Affine
  import rasterio
  from rasterio.mask import raster_geometry_mask, mask
  from .conftest import MockGeoInterface
label_desc: Use image node_id 15 for calling a global function with example usage: test_mask_all_touched(basic_image, basic_image_file, basic_geometry) without return types