static void AssertAudioBroadcast(AudioBroadcast audioBroadcast, AudioBroadcastOptions options) { AssertAudioItem(audioBroadcast, options); Assert.AreEqual(audioBroadcast.Region, options.Region); Assert.AreEqual(audioBroadcast.RadioCallSign, options.RadioCallSign); Assert.AreEqual(audioBroadcast.RadioStationId, options.RadioStationId); Assert.AreEqual(audioBroadcast.RadioBand, options.RadioBand); Assert.AreEqual(audioBroadcast.ChannelNr, options.ChannelNr); }
public void AudioBroadcastInstantiation() { var options = new AudioBroadcastOptions(); SetAudioBroadcastOptions(options); var audio_broadcast = new AudioBroadcast("-1", "-1", options); AssertAudioBroadcast(audio_broadcast, options); AssertAudioBroadcast(audio_broadcast, audio_broadcast.GetOptions()); }