code: def test_ops() -> None:
      res = list(
          q.find(plot.references(), {"size": {q.EQ: 5}}),
      )
      assert len(res) == 1
  
      res = list(
          q.find(plot.references(), {"size": {q.NEQ: 5}}),
      )
      assert len(res) == 0
  
      res = list(
          q.find(plot.references(), {"size": {q.GEQ: 5}}),
      )
      assert len(res) == 1
  
      res = list(
          q.find(plot.references(), {"size": {q.LEQ: 5}}),
      )
      assert len(res) == 1
  
      res = list(
          q.find(plot.references(), {"size": {q.GT: 5}}),
      )
      assert len(res) == 0
  
      res = list(
          q.find(plot.references(), {"size": {q.LT: 5}}),
      )
      assert len(res) == 0
  
file_path: bokeh/tests/unit/bokeh/core/test_query.py
imports: from __future__ import annotations
  import pytest
  from bokeh.models import Axis, BoxZoomTool, ColumnDataSource, DatetimeAxis, Glyph, GlyphRenderer, Grid, Line, LinearAxis, LogAxis, PanTool, Plot, Range1d, Rect, ResetTool, SaveTool, Scatter, Tool, WheelZoomTool
  import bokeh.core.query
label_desc: Use image node_id 10 for calling a global function with example usage: test_ops() without return types