code: def testAllSTCuts1(self):
      # Simple graph with four vertices
      g = self.constructSimpleGraph(directed=True)
      partitions = [
          ((0, 1, 1, 1), 2),
          ((0, 0, 1, 1), 3),
          ((0, 1, 0, 1), 2),
          ((0, 0, 0, 1), 2),
      ]
      values = dict(partitions)
      partitions = [partition for partition, _ in partitions]
      for cut in g.all_st_cuts(0, 3):
          membership = tuple(cut.membership)
          self.assertTrue(
              membership in partitions,
              "%r not found among expected partitions" % (membership,),
          )
          self.assertEqual(cut.value, values[membership])
          self.assertEqual(len(cut.es), values[membership])
          partitions.remove(membership)
      self.assertTrue(
          partitions == [],
          "expected partitions not seen: %r" % (partitions,),
      )
  
imports: import unittest
  from igraph import Cut, Graph, EdgeSeq, InternalError
  from itertools import combinations
  from random import randint
label_desc: Use image node_id 7 for calling the CutTests obj's underlying member method code with example usage: obj.testAllSTCuts1() without return types