Beispiel #1
0
        public void test10()
        {
            byte[]     input    = { (byte)((SECSItemFormatCodeFunctions.getNumberFromSECSItemFormatCode(SECSItemFormatCode.U1) << 2) | 0x01), 0x01, 255 };
            U1SECSItem secsItem = new U1SECSItem(input, 0);

            Assert.IsTrue(secsItem.getSECSItemFormatCode() == SECSItemFormatCode.U1);
        }
Beispiel #2
0
        public void test09()
        {
            byte       value    = 255;
            U1SECSItem secsItem = new U1SECSItem(value);

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