code: def test_ConvertInequalityConstraints(self) -> None:
      A = np.array([[1, 2], [3, 4]])
      b = np.array([[5], [6]])
      A_result, b_result = not_none(
          self.random_model._convert_inequality_constraints((A, b))
      )
      A_expected = torch.tensor([[1, 2], [3, 4]], dtype=torch.double)
      b_expected = torch.tensor([[5], [6]], dtype=torch.double)
      A_comparison = A_result == A_expected
      b_comparison = b_result == b_expected
      self.assertEqual(A_comparison.any(), True)
      self.assertEqual(b_comparison.any(), True)
      self.assertEqual(
          self.random_model._convert_inequality_constraints(None), None
      )
  
file_path: Ax/ax/models/tests/test_random.py
imports: import numpy
  import torch
  from ax.models.random.base import RandomModel
  from ax.utils.common.testutils import TestCase
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 6 for calling the RandomModelTest obj's underlying member method code with example usage: obj.test_ConvertInequalityConstraints() without return types