def test(self): inst = ISD_AS() inst._isd = 0xF011 inst._as = 0xF23344556677 # Call ntools.eq_(inst.pack(), bytes.fromhex("F011F23344556677"))
def _check(self, isd, s): inst = ISD_AS() inst._isd = isd # Call ntools.eq_(inst.isd_str(), s)
def test(self): inst = ISD_AS() inst._isd = 0x111 inst._as = 0x22222 # Call ntools.eq_(inst.pack(), bytes.fromhex("11122222"))