public Update ( AudioSource source, |
||
source | AudioSource | |
options | ||
return | void |
public void InvalidUpdateUserTargets() { var engine = new AudioEngine(); Assert.Throws<ArgumentNullException> (() => engine.Update (null, new UserInfo[] {})); Assert.Throws<ArgumentNullException> (() => engine.Update (source, (IEnumerable<IUserInfo>)null)); Assert.Throws<ArgumentException> (() => engine.Update (source, new UserInfo[] { })); }
public void InvalidUpdatePlayback() { var engine = new AudioEngine(); Assert.Throws<ArgumentNullException> (() => engine.Update (null, new AudioEnginePlaybackOptions())); Assert.Throws<ArgumentNullException> (() => engine.Update (source, (AudioEngineCaptureOptions)null)); Assert.Throws<ArgumentException> (() => engine.Update (source, new AudioEnginePlaybackOptions())); }