GetAudioTypeName() public method

public GetAudioTypeName ( EnumAudioType audioType ) : string
audioType EnumAudioType
return string
Example #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");
 }
Example #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");
 }