code: def test_vector_init_with_list():
      v = vector([1, 2, 3])
      assert len(v) == 3
      assert v.shape == (3, 1)
      assert str(v) == "1\n2\n3"
      assert repr(v) == "dlib.vector([1, 2, 3])"
  
imports: from dlib import vector, vectors, vectorss, dot
  from pytest import raises
label_desc: Use image node_id 4 for calling a global function with example usage: test_vector_init_with_list() without return types