class_docstr: Test ability to marshall slider protos.
class_docstr_tok: ["Test","ability","to","marshall","slider","protos","."]
docstr: Test that it supports different types of values.
docstr_tok: ["Test","that","it","supports","different","types","of","values","."]
code: def test_value_types(self, value, proto_value, return_value):
      """Test that it supports different types of values."""
      ret = st.slider("the label", value=value)
  
      self.assertEqual(ret, return_value)
  
      c = self.get_delta_from_queue().new_element.slider
      self.assertEqual(c.label, "the label")
      self.assertEqual(c.default, proto_value)
  
imports: from datetime import date, datetime, time, timedelta, timezone
  from unittest.mock import MagicMock, patch
  import numpy
  import pytest
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.js_number import JSNumber
  from streamlit.proto.LabelVisibilityMessage_pb2 import LabelVisibilityMessage
  from streamlit.testing.v1.app_test import AppTest
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 3 for calling the SliderTest obj's underlying member method code with example usage: obj.test_value_types(value, proto_value, return_value) without return types