Example #1
0
        public void Test06()
        {
            UInt64     expectedOutput = 0xFFFFFFFFFFFFFFFF;
            U8SECSItem secsItem       = new U8SECSItem(expectedOutput);

            Assert.IsTrue(secsItem.GetValue() == expectedOutput);
        }
Example #2
0
        public void Test05()
        {
            byte []    input          = { (byte)((SECSItemFormatCodeFunctions.GetNumberFromSECSItemFormatCode(SECSItemFormatCode.U8) << 2) | 0x01), 0x08, 127, 255, 255, 255, 255, 255, 255, 255 };
            UInt64     expectedOutput = 0x7FFFFFFFFFFFFFFF;
            U8SECSItem secsItem       = new U8SECSItem(input, 0);

            Assert.IsTrue(secsItem.GetValue() == expectedOutput);
        }