diff --git a/crates/tock-registers/src/registers.rs b/crates/tock-registers/src/registers.rs index f62013a..f6c9e8f 100644 --- a/crates/tock-registers/src/registers.rs +++ b/crates/tock-registers/src/registers.rs @@ -691,6 +691,9 @@ mod tests { let field64 = Field::::new(0x12345678_9abcdef0, 1); assert_eq!(field64.mask, 0x12345678_9abcdef0_u64); assert_eq!(field64.shift, 1); + let field128 = Field::::new(0x12345678_9abcdef0_0fedcba9_87654321, 1); + assert_eq!(field128.mask, 0x12345678_9abcdef0_0fedcba9_87654321_u128); + assert_eq!(field128.shift, 1); } #[test]