code: def test_slice_tiles():
      t = ones((100, 200, 300), chunk_size=30)
      t2 = t[10:40, 199:, -30:303]
      t, t2 = tile(t, t2)
  
      assert t2.chunk_shape == (2, 1, 1)
      assert t2.chunks[0].inputs[0] == t.cix[0, -1, -1].data
      assert t2.chunks[0].op.indexes == [
          slice(10, 30, 1),
          slice(19, 20, 1),
          slice(None),
      ]
      assert t2.chunks[0].index == (0, 0, 0)
      assert t2.chunks[1].inputs[0] == t.cix[1, -1, -1].data
      assert t2.chunks[1].op.indexes == [
          slice(0, 10, 1),
          slice(19, 20, 1),
          slice(None),
      ]
      assert t2.chunks[1].index == (1, 0, 0)
  
imports: import numpy
  import pytest
  from ....config import option_context
  from ....core import tile
  from ...base.broadcast_to import TensorBroadcastTo
  from ...datasource import ones, tensor, array, empty
  from ...datasource.ones import TensorOnes
  from ...merge.concatenate import TensorConcatenate
  from ..None import choose, unravel_index, nonzero, compress, fill_diagonal
  from ..setitem import TensorIndexSetValue
label_desc: Use image node_id 6 for calling a global function with example usage: test_slice_tiles() without return types