code: def test_column_selector_2d_should_select_slice(
      column_selector_2d_class,
  ):
      step = column_selector_2d_class(slice(0, 10, 1))
      data_inputs, expected_outputs = _create_data_source((20, 20))
  
      outputs = step.transform(data_inputs)
  
      assert np.array_equal(outputs, data_inputs[..., :10])
  
file_path: Neuraxle/testing_neuraxle/steps/test_column_selector_2d.py
imports: import numpy
  import pytest
  from neuraxle.steps.column_transformer import ColumnSelector2D, ColumnsSelectorND, NumpyColumnSelector2D
label_desc: Use image node_id 3 for calling a global function with example usage: test_column_selector_2d_should_select_slice(column_selector_2d_class) without return types