code: def test_add_selection():
      selections = [
          alt.selection_interval(),
          alt.selection_point(),
          alt.selection_point(),
      ]
      chart = (
          alt.Chart()
          .mark_point()
          .add_params(selections[0])
          .add_params(selections[1], selections[2])
      )
      expected = [s.param for s in selections]
      assert chart.params == expected
  
imports: import io
  import json
  import operator
  import os
  import pathlib
  import tempfile
  import jsonschema
  import pytest
  import pandas
  import altair.vegalite.v5
label_desc: Use image node_id 21 for calling a global function with example usage: test_add_selection() without return types