code: def test_split_by_type():
      domain = Domain(
          {"x": [1, 2], "y": {-3, 2, 5}, "z": {"small", 1, 0.1}}
      )
      discr, cat, cont = domain.split_by_type()
      assert sum(domain.split_by_type(), Domain({})) == domain
      assert discr == Domain({"y": {-3, 2, 5}})
      assert cat == Domain({"z": {"small", 1, 0.1}})
      assert cont == Domain({"x": [1, 2]})
  
file_path: hypertunity/hypertunity/tests/test_domain.py
imports: from collections import namedtuple
  import pytest
  from hypertunity.domain import Domain, DomainNotIterableError, DomainSpecificationError, Sample
label_desc: Use image node_id 13 for calling a global function with example usage: test_split_by_type() without return types