code: def test_graph1(self):
      # Trivial undirected graph
      G = nx.Graph()
      G.add_edge(1, 2, capacity=1.0)
  
      solnFlows = {1: {2: 1.0}, 2: {1: 1.0}}
  
      compare_flows_and_cuts(G, 1, 2, solnFlows, 1.0)
  
imports: import pytest
  import networkx
  from networkx.algorithms.flow import boykov_kolmogorov, build_flow_dict, build_residual_network, dinitz, edmonds_karp, preflow_push, shortest_augmenting_path
label_desc: Use image node_id 1 for calling the TestMaxflowMinCutCommon obj's underlying member method code with example usage: obj.test_graph1() without return types