public void Test11()
        {
            byte [] expectedResult = { (byte)((SECSItemFormatCodeFunctions.GetNumberFromSECSItemFormatCode(SECSItemFormatCode.I8) << 2) | 0x03), 0, 0, 0x08, 127, 255, 255, 255, 255, 255, 255, 255 };

            I8SECSItem secsItem = new I8SECSItem(9223372036854775807L, SECSItemNumLengthBytes.THREE);

            Assert.AreEqual(secsItem.ToRawSECSItem(), expectedResult);
        }
Exemple #2
0
        public void test13()
        {
            byte[] expectedResult = { (byte)((SECSItemFormatCodeFunctions.getNumberFromSECSItemFormatCode(SECSItemFormatCode.I8) << 2) | 0x03), 0, 0, 0x08, 127, 255, 255, 255, 255, 255, 255, 255 };

            I8SECSItem secsItem = new I8SECSItem(9223372036854775807L, 3);

            Assert.IsTrue(secsItem.ToRawSECSItem().SequenceEqual(expectedResult));
        }