code: def test_select_slider():
      script = AppTest.from_string(
          """
          import streamlit as st
  
          options=['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']
          st.select_slider("single", options=options, value='green')
          st.select_slider("range", options=options, value=['red', 'blue'])
          """,
      )
      sr = script.run()
      assert sr.select_slider[0].value == "green"
      assert sr.select_slider[1].value == ("red", "blue")
  
      sr2 = sr.select_slider[0].set_value("violet").run()
      sr3 = sr2.select_slider[1].set_range("yellow", "orange").run()
      assert sr3.select_slider[0].value == "violet"
      assert sr3.select_slider[1].value == ("orange", "yellow")
  
      repr(sr.select_slider[0])
  
imports: from datetime import date, datetime, time
  import numpy
  import pandas
  import pytest
  from streamlit.elements.markdown import MARKDOWN_HORIZONTAL_RULE_EXPRESSION
  from streamlit.testing.v1.app_test import AppTest
label_desc: Use image node_id 27 for calling a global function with example usage: test_select_slider() without return types