code: def test_model_type_mapper(loss, model_type):
      assert LossModelTypeMapper().get_model_type(loss) == model_type
  
imports: import pytest
  from elephas.utils.model_utils import ModelType, LossModelTypeMapper
label_desc: Use image node_id 1 for calling a global function with example usage: test_model_type_mapper(loss, model_type) without return types