add another unittest
All checks were successful
Rust/sat-rs/pipeline/pr-main This commit looks good

This commit is contained in:
2024-03-26 10:56:47 +01:00
parent d45e0e932f
commit 098981686b
7 changed files with 169 additions and 59 deletions

View File

@ -404,10 +404,8 @@ mod tests {
true,
);
let accepted_token = hk_bench.add_tc(&hk_req);
let pus_tc_raw = hk_req.to_vec().unwrap();
let pus_tc_reader = PusTcReader::new(&pus_tc_raw).expect("invalid pus tc");
let (active_req, req) = hk_bench
.convert(accepted_token, &pus_tc_reader.0, &[])
.convert(accepted_token, &[])
.expect("conversion failed");
assert_eq!(
active_req.target_id(),