public void Test04() { UInt64 [] input = { 0xFFFFFFFFFFFFFFFF, 0x8000000000000000, 0x0000000000000000, 0x0000000000000001, 0x7FFFFFFFFFFFFFFF }; U8ArraySECSItem secsItem = new U8ArraySECSItem(input); Assert.IsTrue(secsItem.GetSECSItemFormatCode() == SECSItemFormatCode.U8); }
public void Test03() { byte [] input = { (byte)((SECSItemFormatCodeFunctions.GetNumberFromSECSItemFormatCode(SECSItemFormatCode.U8) << 2) | 0x01), 40, 255, 255, 255, 255, 255, 255, 255, 255, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 127, 255, 255, 255, 255, 255, 255, 255 }; U8ArraySECSItem secsItem = new U8ArraySECSItem(input, 0); Assert.IsTrue(secsItem.GetSECSItemFormatCode() == SECSItemFormatCode.U8); }