code: def test_test_dataset_size_check_with_condition_that_should_pass(
      iris_split_dataset_and_model,
  ):
      train, test, model = iris_split_dataset_and_model
      check = DatasetsSizeComparison().add_condition_test_size_greater_or_equal(
          10
      )
  
      check_result = check.run(train, test, model)
      condition_result, *_ = check_result.conditions_results
  
      assert_that(
          condition_result,
          matcher=equal_condition_result(  # type: ignore
              is_pass=True,
              name="Test dataset size is greater or equal to 10",
              details="Test dataset contains 50 samples",
              category=ConditionCategory.PASS,
          ),
      )
  
file_path: deepchecks/tests/tabular/checks/train_test_validation/datasets_size_comparison_test.py
imports: from hamcrest import assert_that, has_entries, instance_of
  from deepchecks.core import CheckResult, ConditionCategory
  from deepchecks.tabular.checks import DatasetsSizeComparison
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 2 for calling a global function with example usage: test_test_dataset_size_check_with_condition_that_should_pass(iris_split_dataset_and_model) without return types