code: def test_conversion(name, source_type, relation_type, series, member):
      """Test the generated combinations for "convert(series) == type" and "infer(series) = source_type"
  
      Args:
          name: the test name
          source_type: the type to test against
          relation_type: the type to test against
          series: the series to test
      """
      result, message = convert(
          name, source_type, relation_type, series, member
      )
      assert result, message
  
file_path: ydata-profiling/tests/unit/test_typeset_default.py
imports: import os
  from typing import Dict
  import numpy
  import pandas
  import pytest
  from visions.test.utils import contains, convert, get_contains_cases, get_convert_cases, get_inference_cases, infers
  from tests.unit.test_utils import patch_arg
  from ydata_profiling.config import Settings
  from ydata_profiling.model.typeset import ProfilingTypeSet
  from ydata_profiling.profile_report import ProfileReport
label_desc: Use image node_id 4 for calling a global function with example usage: test_conversion(name, source_type, relation_type, series, member) without return types