code: def test_vector_set_size():
      v = vector(3)
  
      v.set_size(0)
      assert len(v) == 0
      assert v.shape == (0, 1)
  
      v.resize(10)
      assert len(v) == 10
      assert v.shape == (10, 1)
      for i in range(10):
          assert v[i] == 0
  
imports: from dlib import vector, vectors, vectorss, dot
  from pytest import raises
label_desc: Use image node_id 3 for calling a global function with example usage: test_vector_set_size() without return types