Exemplo n.º 1
0
 def test_itoe_max(self):
     self.assertEqual(Ethernet.enet_itoe(U16 - 1), b'\xff\xff')
Exemplo n.º 2
0
 def test_itoe_min(self):
     self.assertEqual(Ethernet.enet_itoe(0), b'\x00\x00')