public void ConvertRecposToNativeWithNegativeCentriesLt() { var recpos = new JET_RECPOS(); recpos.centriesLT = -1; recpos.centriesTotal = 10; NATIVE_RECPOS native = recpos.GetNativeRecpos(); }
public void ConvertRecposToNativeWithNegativeCentriesTotal() { var recpos = new JET_RECPOS(); recpos.centriesLT = 1; recpos.centriesTotal = Int64.MinValue; NATIVE_RECPOS native = recpos.GetNativeRecpos(); }
public void ConvertRecposToNative() { var recpos = new JET_RECPOS(); recpos.centriesLT = 5; recpos.centriesTotal = 10; NATIVE_RECPOS native = recpos.GetNativeRecpos(); Assert.AreEqual(5U, native.centriesLT); Assert.AreEqual(10U, native.centriesTotal); }