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