code: def testAllSTMinCuts2(self):
      # "Ladder graph"
      g = self.constructLadderGraph()
      g.to_directed("mutual")
      cuts = g.all_st_mincuts(0, 11)
      self.assertEqual(len(cuts), 7)
      self.assertEqual(len({tuple(cut.membership) for cut in cuts}), 7)
      for cut in cuts:
          self.assertEqual(cut.value, 2)
          g2 = g.copy()
          g2.delete_edges(cut.es)
          self.assertFalse(
              g2.is_connected(),
              "%r is not a real cut" % (cut.membership,),
          )
  
      g.es["capacity"] = [2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1]
      cuts = g.all_st_mincuts(0, 11, "capacity")
      self.assertEqual(len(cuts), 2)
      self.assertEqual(
          cuts[0].membership, [0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1]
      )
      self.assertEqual(
          cuts[1].membership, [0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1]
      )
      self.assertEqual(cuts[0].value, 2)
      self.assertEqual(cuts[1].value, 2)
  
imports: import unittest
  from igraph import Cut, Graph, EdgeSeq, InternalError
  from itertools import combinations
  from random import randint
label_desc: Use image node_id 9 for calling the CutTests obj's underlying member method code with example usage: obj.testAllSTMinCuts2() without return types