release prep: rc.1 baseline and gating updates

This commit is contained in:
2026-03-02 15:54:55 -05:00
parent 97a42c8802
commit f43b2b24b6
168 changed files with 14708 additions and 982 deletions

View File

@@ -1,8 +1,14 @@
use bitdo_proto::{command_registry, CommandFrame, CommandId, Report64};
use std::collections::HashSet;
#[test]
fn frame_encode_decode_roundtrip_for_all_commands() {
assert_eq!(command_registry().len(), CommandId::all().len());
let unique = command_registry()
.iter()
.map(|row| row.id)
.collect::<HashSet<_>>();
assert_eq!(unique.len(), CommandId::all().len());
assert!(command_registry().len() >= unique.len());
for row in command_registry() {
let frame = CommandFrame {