mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 14:43:34 +08:00
Uncrustified tests
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
#include <uavcan/transport/crc.hpp>
|
||||
|
||||
/*
|
||||
import crcmod
|
||||
crc = crcmod.predefined.Crc('crc-ccitt-false')
|
||||
crc.update('123')
|
||||
crc.hexdigest()
|
||||
'5BCE'
|
||||
crc.update('456789')
|
||||
crc.hexdigest()
|
||||
'29B1'
|
||||
import crcmod
|
||||
crc = crcmod.predefined.Crc('crc-ccitt-false')
|
||||
crc.update('123')
|
||||
crc.hexdigest()
|
||||
'5BCE'
|
||||
crc.update('456789')
|
||||
crc.hexdigest()
|
||||
'29B1'
|
||||
*/
|
||||
|
||||
TEST(TransferCRC, Correctness)
|
||||
|
||||
Reference in New Issue
Block a user