code: def test_condition_comparison(sagemaker_session):
      param = ParameterInteger(name="MyInt")
      cond = ConditionEquals(left=param, right=1)
      if_step = CustomStep(name="IfStep")
      else_step = CustomStep(name="ElseStep")
      cond_step = ConditionStep(
          name="MyConditionStep",
          conditions=[cond],
          if_steps=[if_step],
          else_steps=[else_step],
      )
      pipeline = Pipeline(
          name="MyPipeline",
          steps=[cond_step],
          sagemaker_session=sagemaker_session,
          parameters=[param],
      )
      adjacency_list = PipelineGraph.from_pipeline(
          pipeline
      ).adjacency_list
      assert ordered(adjacency_list) == ordered(
          {
              "MyConditionStep": ["ElseStep", "IfStep"],
              "ElseStep": [],
              "IfStep": [],
          }
      )
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.remote_function.job import _JobSettings
  from sagemaker.workflow.function_step import step
  from sagemaker.workflow.step_outputs import get_step
  from sagemaker.workflow.pipeline import Pipeline, PipelineGraph
  from sagemaker.workflow.condition_step import ConditionStep
  from sagemaker.workflow.conditions import ConditionEquals, ConditionIn, ConditionNot, ConditionOr, ConditionGreaterThan
  from sagemaker.workflow.execution_variables import ExecutionVariables
  from sagemaker.workflow.parameters import ParameterInteger, ParameterString
  from sagemaker.workflow._steps_compiler import CompiledStep
  from tests.unit.sagemaker.workflow.helpers import ordered, CustomStep, CustomStepCollection
label_desc: Use image node_id 21 for calling a global function with example usage: test_condition_comparison(sagemaker_session) without return types