Dean Lee
a919e5721e
panda: add unit tests for usb protocol (pack/unpack) (#22955)
* prepare for unit tests
* add to selfdrive_tests.yaml
* test header
* test chunk count
* rename test function
* continue
* don't check chunks count
* test recv_can
* continue
* small cleanup
* merge master
* cleanup
* rename functions
* test different packet size
* fix operator precedence problem
* refactor unpack_can_buffer
* cleanup test
* cleanup unpack_can_buffer
* add test for multiple pandas
* rename to test_panda
* restore test_boardd
* rename to test_boardd_usbprotocol
* fix typo
* bus_offset = [0,4]
* change src
* use USBPACKET_MAX_SIZE
old-commit-hash: c77354009c61da8a322dc9aaaa4c1ecaec432449
2021-11-23 20:15:22 -08:00
..
2021-10-10 20:27:16 -07:00
2021-11-13 23:16:42 -08:00
2021-11-23 20:15:22 -08:00
2021-06-24 11:35:35 -07:00