public void TestSetParamIntOK() { Out123 handle = new Out123(); handle.SetParamInt(Out123.Params.FLAGS, 1); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }
public void TestGetParamIntOK() { Out123 handle = new Out123(); handle.SetParamInt(Out123.Params.FLAGS, 2); long result = handle.GetParamInt(Out123.Params.FLAGS); Assert.AreEqual(2, result); }
public void TestCopyParamFromOK() { Out123 handle = new Out123(); handle.SetParamInt(Out123.Params.FLAGS, 0); Out123 other = new Out123(); other.SetParamInt(Out123.Params.FLAGS, 1); handle.CopyParamFrom(other); Assert.AreEqual(1, handle.GetParamInt(Out123.Params.FLAGS)); }