test: add initial test_packet
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 15 Nov 2019 09:29:39 +0000 (10:29 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 15 Nov 2019 09:29:50 +0000 (10:29 +0100)
commit442e23d7fd196cbc3466d1a64d98254c301bcbeb
treef7aad1db389389826cd89a6b40167d0eed50a341
parenteb3888f68e0833a6c0c3e709596927f5efd46bd3
test: add initial test_packet

Use a header with 8,16,32,64,128-bit fields and test a Packetizer/Depacketizer loopback with random field values, random packet data & length.
test/test_packet.py [new file with mode: 0644]