code: def test_params():
      # Arrange
      default_check = DummyCheck()
      parameter_check = DummyCheck(param2=5)
      all_param_check = DummyCheck(8, 9, 10)
  
      # Assert
      assert_that(default_check.params(), equal_to({}))
      assert_that(parameter_check.params(), equal_to({"param2": 5}))
      assert_that(
          all_param_check.params(),
          equal_to({"param1": 8, "param2": 9, "n_samples": 10}),
      )
      assert_that(
          default_check.params(show_defaults=True),
          equal_to({"param1": 1, "param2": 2, "n_samples": None}),
      )
  
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 9 for calling a global function with example usage: test_params() without return types