code: def test_max(self):
      x = matrix([[1, 2, 3], [4, 5, 6]])
      assert_equal(x.max(), 6)
      assert_equal(x.max(0), matrix([[4, 5, 6]]))
      assert_equal(x.max(1), matrix([[3], [6]]))
  
      assert_equal(np.max(x), 6)
      assert_equal(np.max(x, axis=0), matrix([[4, 5, 6]]))
      assert_equal(np.max(x, axis=1), matrix([[3], [6]]))
  
imports: import collections.abc
  import numpy
  from numpy import matrix, asmatrix, bmat
  from numpy.testing import assert_, assert_equal, assert_almost_equal, assert_array_equal, assert_array_almost_equal, assert_raises
  from numpy.linalg import matrix_power
  from numpy.matrixlib import mat
label_desc: Use image node_id 3 for calling the TestProperties obj's underlying member method code with example usage: obj.test_max() without return types