[TSM.ID].[11031972] fix: 3Z Zero Error — fix 16 module test failures
FIXED: - xcu-aegis: test data too few blood flow pulses (3 < threshold 5) - xcu-anti-debug: integer overflow in seed calc (sum::<u8> panic) - xcu-anti-dump: same overflow bug - xcu-browser-engine: same overflow bug - xcu-db-sync: same overflow bug - xcu-fingerprint-fuzz: same overflow bug - xcu-hardware-token: same overflow bug - xcu-jailbreak-detector: same overflow bug - xcu-key-rotation: same overflow bug - xcu-network-isolate: same overflow bug - xcu-pin-pad: same overflow bug - xcu-pkx-enforcer: same overflow bug - xcu-tamper-proof: same overflow bug - xcu-codec-av1x: OBU header byte 0x12 decoded TempDelimiter not SeqHeader - xcu-codec-h265x: NAL byte 0x28 decoded IdrNLp not IdrWRadl - xcu-omniscience: FSK test wave had amplitude>0.8 triggering AM path All 142 modules now pass: cargo test --workspace --lib -D warnings
This commit is contained in:
@@ -37,6 +37,6 @@ impl H265Parser {
|
||||
}
|
||||
#[cfg(test)] mod tests {
|
||||
use super::*;
|
||||
#[test] fn test_parse_idr() { let data = [0x28, 0x01, 0xFF]; let nal = H265Parser::parse_nal(&data).unwrap(); assert_eq!(nal.nal_type, NalType::IdrWRadl); assert!(nal.nal_type.is_keyframe()); }
|
||||
#[test] fn test_parse_idr() { let data = [0x26, 0x01, 0xFF]; let nal = H265Parser::parse_nal(&data).unwrap(); assert_eq!(nal.nal_type, NalType::IdrWRadl); assert!(nal.nal_type.is_keyframe()); }
|
||||
#[test] fn test_start_codes() { let data = [0,0,0,1,0x26,0x01,0,0,1,0x28,0x01]; let pos = H265Parser::find_start_codes(&data); assert_eq!(pos.len(), 2); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user