public void TestSetParamFloatOK() { Out123 handle = new Out123(); handle.SetParamFloat(Out123.Params.FLAGS, 1.0d); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }
public void TestSetParamStringOK() { Out123 handle = new Out123(); handle.SetParamString(Out123.Params.BINDIR, "myDir"); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }
public void TestLastErrorCodeOK() { Out123 handle = new Out123(); Out123.Errors result = handle.LastErrorCode(); Assert.AreEqual(Out123.Errors.OK, result); }
public void TestSetBufferOK() { Out123 handle = new Out123(); handle.SetBufferSize(10); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }
public void TestDriverInfoOK() { Out123 handle = new Out123(); handle.DriverInfo(); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }
public void TestNDrainSomeBytesOK() { Out123 handle = new Out123(); handle.Drain(10); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }
public void TestStopOK() { Out123 handle = new Out123(); handle.Stop(); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }
public void TestContinueOK() { Out123 handle = new Out123(); handle.Continue(); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }
public void TestCloseHandleNotOpenedOK() { Out123 handle = new Out123(); handle.Close(); Assert.AreEqual(Out123.Errors.OK, handle.LastErrorCode()); }