code: def test_uniform_neighbor_sample_carry_over_sources_basic():
      df = cudf.DataFrame(
          {
              "src": [0, 4, 1, 2, 3, 5, 4, 1, 0, 6],
              "dst": [1, 1, 2, 4, 6, 1, 5, 0, 2, 2],
              "eid": [9, 8, 7, 6, 5, 4, 3, 2, 1, 0],
          }
      )
  
      G = cugraph.MultiGraph(directed=True)
      G.from_cudf_edgelist(
          df, source="src", destination="dst", edge_id="eid"
      )
  
      sampling_results = cugraph.uniform_neighbor_sample(
          G,
          cudf.DataFrame(
              {
                  "seed": cudf.Series([0, 4, 3], dtype="int64"),
                  "batch": cudf.Series([1, 1, 1], dtype="int32"),
              }
          ),
          [2, 3, 3],
          with_replacement=False,
          with_edge_properties=True,
          with_batch_ids=True,
          random_state=62,
          prior_sources_behavior="carryover",
      ).sort_values(by="hop_id")[["sources", "destinations", "hop_id"]]
  
      assert (
          len(
              sampling_results[
                  (sampling_results.hop_id == 2)
                  & (sampling_results.sources == 6)
              ]
          )
          == 2
      )
  
      for hop in range(2):
          sources_current_hop = set(
              sampling_results[
                  sampling_results.hop_id == hop
              ].sources.values_host.tolist()
          )
          sources_next_hop = set(
              sampling_results[
                  sampling_results.hop_id == (hop + 1)
              ].sources.values_host.tolist()
          )
  
          for s in sources_current_hop:
              assert s in sources_next_hop
  
imports: import gc
  import random
  import pytest
  import cupy
  import cudf
  import cugraph
  from cugraph import uniform_neighbor_sample
  from cugraph.testing import UNDIRECTED_DATASETS
  from cugraph.datasets import email_Eu_core, small_tree
  from pylibcugraph.testing.utils import gen_fixture_params_product
label_desc: Use image node_id 14 for calling a global function with example usage: test_uniform_neighbor_sample_carry_over_sources_basic() without return types