code: def test_digraph5(self):
      # From ticket #429 by mfrasca.
      G = nx.DiGraph()
      G.add_edge("s", "a", capacity=2)
      G.add_edge("s", "b", capacity=2)
      G.add_edge("a", "b", capacity=5)
      G.add_edge("a", "t", capacity=1)
      G.add_edge("b", "a", capacity=1)
      G.add_edge("b", "t", capacity=3)
      flowSoln = {
          "a": {"b": 1, "t": 1},
          "b": {"a": 0, "t": 3},
          "s": {"a": 2, "b": 2},
          "t": {},
      }
      compare_flows_and_cuts(G, "s", "t", flowSoln, 4)
  
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 12 for calling the TestMaxflowMinCutCommon obj's underlying member method code with example usage: obj.test_digraph5() without return types