code: def test_zoom_normal():
      vb = pg.ViewBox()
      testRange = pg.QtCore.QRect(0, 0, 10, 20)
      vb.setRange(testRange, padding=0)
      vbViewRange = vb.getState()["viewRange"]
      assert vbViewRange == [
          [testRange.left(), testRange.right()],
          [testRange.top(), testRange.bottom()],
      ]
  
file_path: pyqtgraph/tests/graphicsItems/ViewBox/test_ViewBoxZoom.py
imports: import pyqtgraph
label_desc: Use image node_id 1 for calling a global function with example usage: test_zoom_normal() without return types