code: def test_comparisons(self):
      A = np.arange(100).reshape(10, 10)
      mA = matrix(A)
      mB = matrix(A) + 0.1
      assert_(np.all(mB == A + 0.1))
      assert_(np.all(mB == matrix(A + 0.1)))
      assert_(not np.any(mB == matrix(A - 0.1)))
      assert_(np.all(mA < mB))
      assert_(np.all(mA <= mB))
      assert_(np.all(mA <= mA))
      assert_(not np.any(mA < mA))
  
      assert_(not np.any(mB < mA))
      assert_(np.all(mB >= mA))
      assert_(np.all(mB >= mB))
      assert_(not np.any(mB > mB))
  
      assert_(np.all(mA == mA))
      assert_(not np.any(mA == mB))
      assert_(np.all(mB != mA))
  
      assert_(not np.all(abs(mA) > 0))
      assert_(np.all(abs(mB > 0)))
  
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 9 for calling the TestProperties obj's underlying member method code with example usage: obj.test_comparisons() without return types