code: def test_bbox_to_zoom_level():
      assert (
          bbox_to_zoom_level(
              (
                  (-222.1875, -31.503629305773018),
                  (-0.3515625, 70.90226826757711),
              )
          )
          == 1
      )
      assert (
          bbox_to_zoom_level(((-122.12, 37.71), (-122.56, 37.83))) == 9
      )
      assert (
          bbox_to_zoom_level(
              ((-122.44091, 37.781), (-122.44092, 37.782))
          )
          == 18
      )
  
file_path: deck.gl/bindings/pydeck/tests/test_data_utils.py
imports: import json
  import pandas
  from pydeck.data_utils.viewport_helpers import compute_view, bbox_to_zoom_level, euclidean, is_pandas_df, geometric_mean, get_bbox, get_n_pct, k_nearest_neighbors
  from pydeck import ViewState
label_desc: Use image node_id 2 for calling a global function with example usage: test_bbox_to_zoom_level() without return types