class_docstr: This class tests the basic functionality of the Python bindings.
class_docstr_tok: ["This","class","tests","the","basic","functionality","of","the","Python","bindings","."]
docstr: Test that we can pass an arraylike unsigned matrix.
docstr_tok: ["Test","that","we","can","pass","an","arraylike","unsigned","matrix","."]
code: def testArraylikeUmatrix(self):
      """
      Test that we can pass an arraylike unsigned matrix.
      """
      x = [[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [11, 12, 13, 14, 15]]
  
      output = test_python_binding(
          string_in="hello",
          int_in=12,
          double_in=4.0,
          mat_req_in=[[1.0]],
          col_req_in=[1.0],
          umatrix_in=x,
      )
  
      self.assertEqual(output["umatrix_out"].shape[0], 3)
      self.assertEqual(output["umatrix_out"].shape[1], 4)
      self.assertEqual(output["umatrix_out"].dtype, np.dtype("intp"))
      self.assertEqual(output["umatrix_out"][0, 0], 1)
      self.assertEqual(output["umatrix_out"][0, 1], 2)
      self.assertEqual(output["umatrix_out"][0, 2], 6)
      self.assertEqual(output["umatrix_out"][0, 3], 4)
      self.assertEqual(output["umatrix_out"][1, 0], 6)
      self.assertEqual(output["umatrix_out"][1, 1], 7)
      self.assertEqual(output["umatrix_out"][1, 2], 16)
      self.assertEqual(output["umatrix_out"][1, 3], 9)
      self.assertEqual(output["umatrix_out"][2, 0], 11)
      self.assertEqual(output["umatrix_out"][2, 1], 12)
      self.assertEqual(output["umatrix_out"][2, 2], 26)
      self.assertEqual(output["umatrix_out"][2, 3], 14)
  
imports: import unittest
  import pandas
  import numpy
  import copy
  from mlpack.test_python_binding import test_python_binding
label_desc: Use image node_id 23 for calling the TestPythonBinding obj's underlying member method code with example usage: obj.testArraylikeUmatrix() without return types