Пример #1
0
        public void test10()
        {
            UInt64     expectedOutput = UInt64.MaxValue;
            U8SECSItem secsItem       = new U8SECSItem(expectedOutput);

            Assert.IsTrue(secsItem.getSECSItemFormatCode() == SECSItemFormatCode.U8);
        }
Пример #2
0
        public void test09()
        {
            byte[]     input    = { (byte)((SECSItemFormatCodeFunctions.getNumberFromSECSItemFormatCode(SECSItemFormatCode.U8) << 2) | 0x01), 0x08, 255, 255, 255, 25, 255, 255, 255, 255 };
            U8SECSItem secsItem = new U8SECSItem(input, 0);

            Assert.IsTrue(secsItem.getSECSItemFormatCode() == SECSItemFormatCode.U8);
        }