code: def test_basic(self):
      import numpy.linalg as linalg
  
      A = np.array([[1.0, 2.0], [3.0, 4.0]])
      mA = matrix(A)
      assert_(np.allclose(linalg.inv(A), mA.I))
      assert_(np.all(np.array(np.transpose(A) == mA.T)))
      assert_(np.all(np.array(np.transpose(A) == mA.H)))
      assert_(np.all(A == mA.A))
  
      B = A + 2j * A
      mB = matrix(B)
      assert_(np.allclose(linalg.inv(B), mB.I))
      assert_(np.all(np.array(np.transpose(B) == mB.T)))
      assert_(np.all(np.array(np.transpose(B).conj() == mB.H)))
  
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
label_desc: Use image node_id 7 for calling the TestProperties obj's underlying member method code with example usage: obj.test_basic() without return types