public void audioservice_can_get_truehd_audio_type_by_name() { //given string name = "TrueHD"; IAudioService service = new AudioService(); //when EnumAudioType audioType = service.GetAudioTypeByName(name); //then audioType.Should().Be(EnumAudioType.TrueHD); }
public void audioservice_can_get_lpcm_audio_type_by_name() { //given string name = "LPCM"; IAudioService service = new AudioService(); //when EnumAudioType audioType = service.GetAudioTypeByName(name); //then audioType.Should().Be(EnumAudioType.LPCM); }
public void audioservice_can_get_dtsexpress_audio_type_by_name() { //given string name = "DTS Express"; IAudioService service = new AudioService(); //when EnumAudioType audioType = service.GetAudioTypeByName(name); //then audioType.Should().Be(EnumAudioType.DTSEXPRESS); }