public void TestSetEqualizerRedLight() { Mpg123 mpg123 = new Mpg123(); int ErrorValue = 1000; Assert.That(() => mpg123.Eq(Mpg123.Channels.LEFT, ErrorValue, 20), Throws.TypeOf <Mpg123.ErrorException>()); }
public void TestGetEqualizerRedLight() { Mpg123 mpg123 = new Mpg123(); mpg123.Eq(Mpg123.Channels.LR, 20, 30); double value = 20; Assert.That(mpg123.GetEq(Mpg123.Channels.LR, 20), Is.Not.EqualTo(value)); }
public void TestGetEqualizer() { Mpg123 mpg123 = new Mpg123(); mpg123.Eq(Mpg123.Channels.LR, 20, 20); double aspectedValue = 20; Assert.That(mpg123.GetEq(Mpg123.Channels.LR, 20), Is.EqualTo(aspectedValue)); }
public void TestSetEqualizer() { Mpg123 mpg123 = new Mpg123(); Assert.That(() => mpg123.Eq(Mpg123.Channels.LEFT, 10, 10), Throws.Nothing); }