code: def test_matrix_from_list_as_column_vector():
      m = matrix([0, 1, 2])
      assert m.nr() == 3
      assert m.nc() == 1
      assert m.shape == (3, 1)
      assert len(m) == 3
      assert repr(m) == "< dlib.matrix containing: \n0 \n1 \n2 >"
      assert str(m) == "0 \n1 \n2"
  
file_path: dlib/tools/python/test/test_matrix.py
imports: from dlib import matrix
  from pytest import raises
label_desc: Use image node_id 4 for calling a global function with example usage: test_matrix_from_list_as_column_vector() without return types