code: def test_indices_indexing_tiles():
      t = ones((10, 20, 30), chunk_size=(2, 20, 30))
      t2 = t[3]
      t, t2 = tile(t, t2)
  
      assert len(t2.chunks) == 1
      assert t2.chunks[0].inputs[0] is t.cix[1, 0, 0].data
      assert t2.chunks[0].op.indexes[0] == 1
  
      t = ones((10, 20, 30), chunk_size=(2, 20, 30))
      t3 = t[4]
      t, t3 = tile(t, t3)
  
      assert len(t3.chunks) == 1
      assert t3.chunks[0].inputs[0] is t.cix[2, 0, 0].data
      assert t3.chunks[0].op.indexes[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 7 for calling a global function with example usage: test_indices_indexing_tiles() without return types