code: def test_init_parameters(temporal_graph):
      num_cw = 5
      cw_size = 3
      max_walk_length = 3
      seed = 0
  
      rw = TemporalRandomWalk(
          temporal_graph,
          cw_size=cw_size,
          max_walk_length=max_walk_length,
          seed=seed,
      )
      rw_no_params = TemporalRandomWalk(temporal_graph)
  
      run_1 = rw.run(num_cw=num_cw)
      run_2 = rw_no_params.run(
          num_cw=num_cw,
          cw_size=cw_size,
          max_walk_length=max_walk_length,
          seed=seed,
      )
  
      np.testing.assert_array_equal(run_1, run_2)
  
file_path: stellargraph/tests/data/test_temporal_random_walker.py
imports: import pandas
  import pytest
  import numpy
  import networkx
  from stellargraph.data.explorer import TemporalRandomWalk
  from stellargraph.core.graph import StellarGraph
label_desc: Use image node_id 7 for calling a global function with example usage: test_init_parameters(temporal_graph) without return types