code: def test_clear(c=BitSet):
      b = c([1, 5, 100, 60])
      b.clear()
      assert list(b) == []
  
file_path: whoosh/tests/test_bits.py
imports: from whoosh.filedb.filestore import RamStorage
  from whoosh.idsets import BitSet, OnDiskBitSet, SortedIntSet
label_desc: Use image node_id 7 for calling a global function with example usage: test_clear(c) without return types