code: def test_Filter_set_operators() -> None:
      f0 = ~bmf.BooleanFilter()
      assert isinstance(f0, bmf.InversionFilter)
  
      f1 = bmf.BooleanFilter() & bmf.IndexFilter()
      assert isinstance(f1, bmf.IntersectionFilter)
      assert len(f1.operands) == 2
  
      f2 = bmf.BooleanFilter() | bmf.IndexFilter()
      assert isinstance(f2, bmf.UnionFilter)
      assert len(f2.operands) == 2
  
      f3 = bmf.BooleanFilter() - bmf.IndexFilter()
      assert isinstance(f3, bmf.DifferenceFilter)
      assert len(f3.operands) == 2
  
      f4 = bmf.BooleanFilter() ^ bmf.IndexFilter()
      assert isinstance(f4, bmf.SymmetricDifferenceFilter)
      assert len(f4.operands) == 2
  
imports: from __future__ import annotations
  import pytest
  import bokeh.models.filters
label_desc: Use image node_id 1 for calling a global function with example usage: test_Filter_set_operators() without return types