code: def test_size_types_should_be_int_tuple_or_list_config(
      tile_size, stride
  ):
      """Size type could only be integer, tuple or ListConfig type."""
      tiler = Tiler(tile_size=tile_size, stride=stride)
      assert isinstance(tiler.tile_size_h, int)
      assert isinstance(tiler.stride_w, int)
  
file_path: anomalib/tests/pre_merge/datasets/test_tiler.py
imports: import pytest
  import torch
  from omegaconf import ListConfig
  from anomalib.pre_processing.tiler import StrideSizeError, Tiler
label_desc: Use image node_id 1 for calling a global function with example usage: test_size_types_should_be_int_tuple_or_list_config(tile_size, stride) without return types