code: def test_scatter_selectedpoints(self):
      scatter = Scatter(
          [
              (
                  0,
                  1,
              ),
              (1, 2),
              (2, 3),
          ]
      ).opts(selectedpoints=[1, 2])
      state = self._get_plot_state(scatter)
      self.assertEqual(state["data"][0]["selectedpoints"], [1, 2])
  
imports: import numpy
  from holoviews.element import Scatter, Tiles
  from .test_plot import TestPlotlyPlot
label_desc: Use image node_id 7 for calling the TestScatterPlot obj's underlying member method code with example usage: obj.test_scatter_selectedpoints() without return types