code: def test_simple_list(self):
      X = [0, 1, 2]
  
      result = fmim._convert_to_ndarray_1d(X)
  
      assert isinstance(result, np.ndarray)
      assert result.shape == (3,)
      assert result[0] == 0
      assert result[1] == 1
      assert result[2] == 2
  
file_path: fairlearn/test/unit/utils/test_input_manipulations.py
imports: import numpy
  import pytest
  import fairlearn.utils._input_manipulations
label_desc: Use image node_id 1 for calling the TestConvertToNDArray1D obj's underlying member method code with example usage: obj.test_simple_list() without return types