code: def test_range():
      r = range(0, 10)
      assert r.begin == 0
      assert r.end == 10
      assert str(r) == "0, 10"
      assert repr(r) == "dlib.range(0, 10)"
      assert len(r) == 10
  
      ser = pickle.dumps(r, 2)
      deser = pickle.loads(ser)
  
      for a, b in zip(r, deser):
          assert a == b
  
imports: from dlib import range, ranges, rangess
  from pytest import raises
label_desc: Use image node_id 1 for calling a global function with example usage: test_range() without return types