Exemplo n.º 1
0
        public void ConvertSetinfoToNativeWhenItagSequenceIsNegative()
        {
            var setinfo = new JET_SETINFO {
                ibLongValue = 0, itagSequence = Int32.MinValue
            };

            NATIVE_SETINFO native = setinfo.GetNativeSetinfo();
        }
Exemplo n.º 2
0
        public void ConvertSetinfoToNative()
        {
            var setinfo = new JET_SETINFO {
                ibLongValue = 1, itagSequence = 2
            };

            NATIVE_SETINFO native = setinfo.GetNativeSetinfo();

            Assert.AreEqual(1U, native.ibLongValue);
            Assert.AreEqual(2U, native.itagSequence);
        }