code: def test_init(self):
      # 测试能否正确初始化
      dataset = TorchNormalDataset(num_of_data=100)
      sampler = RandomSampler(dataset)
      for i in sampler:
          pass
  
imports: import numpy
  import pytest
  from functools import partial
  from itertools import chain
  from copy import deepcopy
  from fastNLP.core.samplers.reproducible_sampler import RandomSampler, SortedSampler, SequentialSampler
  from tests.helpers.datasets.torch_data import TorchNormalDataset
label_desc: Use image node_id 1 for calling the TestRandomSamplerYh obj's underlying member method code with example usage: obj.test_init() without return types