public void TestSetParamFloatOK() { Out123 handle = new Out123(); handle.SetParamFloat(Out123.Params.FLAGS, 1.0d); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }
public void TestGetParamFloatOK() { Out123 handle = new Out123(); handle.SetParamFloat(Out123.Params.GAIN, 5.0); double result = handle.GetParamFloat(Out123.Params.GAIN); Assert.AreEqual(5, result); }
public void TestGetParamFloatOK() { Out123 handle = new Out123(); handle.SetParamFloat(Out123.Params.GAIN, 5.0); double result = handle.GetParamFloat(Out123.Params.GAIN); Assert.AreEqual(5, result); //Test should work. Strange behavior just with the double value. Maybe Bug in Out123?!?! }