code: def test_frame_selector_random_k_1(self):
      _SEED = 43
      _K = 4
      random.seed(_SEED)
      selector = RandomKFramesSelector(_K)
      frame_tss = list(range(0, 20, 2))
      _SELECTED_GT = [0, 8, 4, 6]
      selected = selector(frame_tss)
      self.assertEqual(_SELECTED_GT, selected)
  
file_path: detectron2/projects/DensePose/tests/test_frame_selector.py
imports: import random
  import unittest
  from densepose.data.video import FirstKFramesSelector, LastKFramesSelector, RandomKFramesSelector
label_desc: Use image node_id 1 for calling the TestFrameSelector obj's underlying member method code with example usage: obj.test_frame_selector_random_k_1() without return types