code: def test_add_condition():
      # Arrange & Act
      check = DummyCheck().add_condition(
          "condition A", lambda r: ConditionCategory.PASS
      )
  
      # Assert
      assert_that(
          check._conditions.values(),
          contains_exactly(has_property("name", "condition A")),
      )
  
imports: import numpy
  import pandas
  from hamcrest import *
  from deepchecks import __version__
  from deepchecks.core import BaseCheck, CheckResult, ConditionResult
  from deepchecks.core.condition import ConditionCategory
  from deepchecks.core.errors import DeepchecksValueError
  from deepchecks.tabular import Context, TrainTestCheck
label_desc: Use image node_id 1 for calling a global function with example usage: test_add_condition() without return types