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 a row vector input parameter.
docstr_tok: ["Test","a","row","vector","input","parameter","."]
code: def testRow(self):
      """
      Test a row vector input parameter.
      """
      x = np.random.rand(100)
      z = copy.deepcopy(x)
  
      output = test_python_binding(
          string_in="hello",
          int_in=12,
          double_in=4.0,
          mat_req_in=[[1.0]],
          col_req_in=[1.0],
          row_in=z,
      )
  
      self.assertEqual(output["row_out"].shape[0], 100)
      self.assertEqual(output["row_out"].dtype, np.double)
  
      for i in range(100):
          self.assertEqual(output["row_out"][i], x[i] * 2)
  
imports: import unittest
  import pandas
  import numpy
  import copy
  from mlpack.test_python_binding import test_python_binding
label_desc: Use image node_id 31 for calling the TestPythonBinding obj's underlying member method code with example usage: obj.testRow() without return types