GetAudioTypeName() 공개 메소드

public GetAudioTypeName ( EnumAudioType audioType ) : string
audioType EnumAudioType
리턴 string
예제 #1
0
 public void audioservice_can_get_ac3_audio_type_name()
 {
     //given
     EnumAudioType audioType = EnumAudioType.AC3;
     IAudioService service = new AudioService();
     //when
     string name = service.GetAudioTypeName(audioType);
     //then
     name.Should().Be("AC3");
 }
예제 #2
0
 public void audioservice_can_get_dtsexpress_audio_type_name()
 {
     //given
     EnumAudioType audioType = EnumAudioType.DTSEXPRESS;
     IAudioService service = new AudioService();
     //when
     string name = service.GetAudioTypeName(audioType);
     //then
     name.Should().Be("DTS Express");
 }