cpp对齐官方
This commit is contained in:
@@ -61,8 +61,8 @@ def test_plain_crc_at_612():
|
||||
assert plain[612:616] == expected_crc
|
||||
|
||||
|
||||
def test_encrypted_damping_matches_real(bf):
|
||||
"""全 damping 加密后, 前 16B 应跟真实 Legged_sport 抓包一致."""
|
||||
def test_encrypted_default_header_matches_real_capture(bf):
|
||||
"""默认命令与活动实机命令的公共头部加密结果必须一致."""
|
||||
cmd = LowCmd()
|
||||
enc = build_low_cmd_encrypted(cmd, bf)
|
||||
assert len(enc) == 616
|
||||
|
||||
Reference in New Issue
Block a user