code: def test_fundamental_cycles(self):
      g = Graph(
          [
              (1, 2),
              (2, 3),
              (3, 1),
              (4, 5),
              (5, 4),
              (4, 5),
              (6, 7),
              (7, 8),
              (8, 9),
              (9, 6),
              (6, 8),
              (10, 10),
              (10, 11),
              (12, 12),
          ]
      )
      cycles = [sorted(cycle) for cycle in g.fundamental_cycles()]
      assert cycles == [
          [0, 1, 2],
          [4, 5],
          [3, 5],
          [6, 7, 10],
          [8, 9, 10],
          [11],
          [13],
      ]
  
      cycles = [
          sorted(cycle) for cycle in g.fundamental_cycles(start_vid=6)
      ]
      assert cycles == [[6, 7, 10], [8, 9, 10]]
  
      cycles = [
          sorted(cycle)
          for cycle in g.fundamental_cycles(start_vid=6, cutoff=1)
      ]
      assert cycles == [[6, 7, 10], [8, 9, 10]]
  
file_path: python-igraph/tests/test_cycles.py
imports: import random
  import unittest
  from igraph import Graph
label_desc: Use image node_id 4 for calling the CycleTests obj's underlying member method code with example usage: obj.test_fundamental_cycles() without return types