code: def test_as_dict():
      dict_domain = {"a": {"b": [2, 3]}, "c": [0, 0.1]}
      domain = Domain(dict_domain)
      assert domain.as_dict() == dict_domain
  
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 7 for calling a global function with example usage: test_as_dict() without return types