code: def test_get_edge_cut(reporter, partitioning):
      partitioning, args = partitioning
      edge_cut, edge_cut_proportion = reporter.get_edge_cut(
          args["k"], partitioning, args["avg_size"]
      )
      assert (
          edge_cut == 9
      ), "Edge cut should be 9, instead got {} {}.".format(
          edge_cut, args
      )
  
file_path: AmpliGraph/tests/ampligraph/datasets/test_partitioning_reporter.py
imports: from ampligraph.datasets.partitioning_reporter import PartitioningReporter
  from ampligraph.datasets.graph_partitioner import NaiveGraphPartitioner, GraphDataLoader
  import pytest
  import mock
  from pytest_mock import mocker
  import pandas
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: test_get_edge_cut(reporter, partitioning) without return types