public GetAudioTypeName ( EnumAudioType audioType ) : string | ||
audioType | EnumAudioType | |
리턴 | string |
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"); }
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"); }