From 149b4d65a2f984066af890721829d73635c45533 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 5 Dec 2023 14:01:21 +0100 Subject: [PATCH] add seq count --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 2b422bd..7a93459 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -880,6 +880,7 @@ mod tests { fn test_invalid_seq_count() { let mut psc = PacketSequenceCtrl::new(SequenceFlags::ContinuationSegment, 77) .expect("PSC creation failed"); + assert_eq!(psc.seq_count(), 77); assert!(!psc.set_seq_count(0xffff)); }