예제 #1
0
 def test_itoe_max(self):
     self.assertEqual(Ethernet.enet_itoe(U16 - 1), b'\xff\xff')
예제 #2
0
 def test_itoe_min(self):
     self.assertEqual(Ethernet.enet_itoe(0), b'\x00\x00')