code: def test_output_value(self):
      attribute_outputs = [
          Output(type_=OutputType.DISCRETE, dim=2),
          Output(
              type_=OutputType.CONTINUOUS,
              dim=1,
              normalization=Normalization.MINUSONE_ONE,
          ),
      ]
      assert set([val.type_.value for val in attribute_outputs]) == set(
          [val.type_.name for val in attribute_outputs]
      )
  
      # illegal input.
      with pytest.raises(Exception):
          [
              Output(
                  type_=OutputType.CONTINUOUS, dim=2, normalization=None
              )
          ]
  
file_path: analytics-zoo/pyzoo/test/zoo/chronos/simulator/test_doppelganger_simulator.py
imports: import tempfile
  import numpy
  import pytest
  from zoo.chronos.simulator import DPGANSimulator
  from zoo.chronos.simulator.doppelganger.output import Output, OutputType, Normalization
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
label_desc: Use image node_id 3 for calling the TestDoppelganer obj's underlying member method code with example usage: obj.test_output_value() without return types