code: def test_reusing_residual(self):
      G = self.G
      fv = 3.0
      s, t = "x", "y"
      R = build_residual_network(G, "capacity")
      for interface_func in interface_funcs:
          for flow_func in flow_funcs:
              errmsg = (
                  f"Assertion failed in function: {flow_func.__name__} "
                  f"in interface {interface_func.__name__}"
              )
              for i in range(3):
                  result = interface_func(
                      G, "x", "y", flow_func=flow_func, residual=R
                  )
                  if interface_func in max_min_funcs:
                      result = result[0]
                  assert fv == result, errmsg
  
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 7 for calling the TestMaxFlowMinCutInterface obj's underlying member method code with example usage: obj.test_reusing_residual() without return types