code: def test_basic(self):
      x = asmatrix(np.zeros((3, 2), float))
      y = np.zeros((3, 1), float)
      y[:, 0] = [0.8, 0.2, 0.3]
      x[:, 1] = y > 0.5
      assert_equal(x, [[0, 1], [0, 0], [0, 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
label_desc: Use image node_id 1 for calling the TestIndexing obj's underlying member method code with example usage: obj.test_basic() without return types