code: def test1(self):
      self.check_all()
  
      self.check_popleft()
      self.do_append(10)
      self.check_all()
  
      self.check_popleft()
      self.check_popleft()
      self.do_append(11)
      self.check_all()
  
      # test negative indices
      n = len(self.t_queue)
      for i in range(-n, 0):
          self.check_getitem(i)
  
      for k in range(4):
          self.do_extend(range(k))
          self.check_all()
  
      for k in range(4):
          self.check_popleft()
          self.do_extend(range(k))
          self.check_all()
  
      for k in range(10):
          self.do_append(20 + k)
          self.check_popleft()
          self.check_popleft()
          self.check_all()
  
      for _ in range(100):
          self.check_popleft()
  
file_path: pfrl/tests/collections_tests/test_random_access_queue.py
imports: import collections
  import pytest
  from pfrl.collections.random_access_queue import RandomAccessQueue
label_desc: Use image node_id 2 for calling the TestRandomAccessQueue obj's underlying member method code with example usage: obj.test1() without return types