Exemple #1
0
        public void test10()
        {
            Int64      expectedOutput = 9223372036854775807L;
            I8SECSItem secsItem       = new I8SECSItem(expectedOutput);

            Assert.IsTrue(secsItem.getSECSItemFormatCode() == SECSItemFormatCode.I8);
        }
Exemple #2
0
        public void test09()
        {
            byte[]     input    = { (byte)((SECSItemFormatCodeFunctions.getNumberFromSECSItemFormatCode(SECSItemFormatCode.I8) << 2) | 0x01), 0x08, 255, 255, 255, 255, 255, 255, 255, 255 };
            I8SECSItem secsItem = new I8SECSItem(input, 0);

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