code: def test_multifilter():
      f1 = analysis.LowercaseFilter()
      f2 = analysis.PassFilter()
      mf = analysis.MultiFilter(a=f1, b=f2)
      ana = analysis.RegexTokenizer(r"\S+") | mf
      text = u("ALFA BRAVO CHARLIE")
      assert [t.text for t in ana(text, mode="a")] == [
          "alfa",
          "bravo",
          "charlie",
      ]
      assert [t.text for t in ana(text, mode="b")] == [
          "ALFA",
          "BRAVO",
          "CHARLIE",
      ]
  
imports: from __future__ import with_statement
  import pytest
  from whoosh import analysis, fields, qparser
  from whoosh.compat import b, u, unichr
  from whoosh.compat import dumps
  from whoosh.filedb.filestore import RamStorage
label_desc: Use image node_id 9 for calling a global function with example usage: test_multifilter() without return types