code: def test_paper_1_case():
      ground_truth = {frozenset([1, 4]), frozenset([2, 3, 5])}
  
      tf = (True, False)
      for flt, nwt, drc in product(tf, tf, tf):
          part = paper_1_case(flt, nwt, drc)
          assert part == ground_truth
  
file_path: networkx/networkx/algorithms/community/tests/test_lukes.py
imports: from itertools import product
  import pytest
  import networkx
label_desc: Use image node_id 3 for calling a global function with example usage: test_paper_1_case() without return types