code: def test_init_parameters(self):
      g = create_test_graph()
      n = 2
      length = 15
      metapaths = [["s", "n", "n", "s"]]
      seed = 42
      nodes = ["0", "5"]
  
      mrw = UniformRandomMetaPathWalk(
          g, n=n, length=length, metapaths=metapaths, seed=seed
      )
      mrw_no_params = UniformRandomMetaPathWalk(g)
  
      run_1 = mrw.run(nodes=nodes)
      run_2 = mrw_no_params.run(
          nodes=nodes,
          n=n,
          length=length,
          metapaths=metapaths,
          seed=seed,
      )
      assert len(run_1) == len(run_2)
      for w1, w2 in zip(run_1, run_2):
          np.testing.assert_array_equal(w1, w2)
  
file_path: stellargraph/tests/data/test_metapath_walker.py
imports: import pandas
  import numpy
  import pytest
  from stellargraph.data.explorer import UniformRandomMetaPathWalk
  from stellargraph.core.graph import StellarGraph
  from ..test_utils.graphs import example_graph_random
label_desc: Use image node_id 6 for calling the TestMetaPathWalk obj's underlying member method code with example usage: obj.test_init_parameters() without return types