コード例 #1
0
        public void Test08()
        {
            long       expectedOutput = 9223372036854775807L;
            I8SECSItem secsItem       = new I8SECSItem(expectedOutput);

            Assert.IsTrue(secsItem.GetSECSItemFormatCode() == SECSItemFormatCode.I8);
        }
コード例 #2
0
        public void Test07()
        {
            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);
        }