()
| 1097 | |
| 1098 | #[test] |
| 1099 | fn test_serialized_leaf_content_range() { |
| 1100 | let data = SerializedLeaf { |
| 1101 | branch_id: BranchId::new(NodeId::new(1), 0), |
| 1102 | kind: TokenKind::Word, |
| 1103 | state: LeafState::Alive, |
| 1104 | content_start: 10, |
| 1105 | content_end: 25, |
| 1106 | }; |
| 1107 | |
| 1108 | assert_eq!(data.content_range(), 10..25); |
| 1109 | assert_eq!(data.content_len(), 15); |
| 1110 | } |
| 1111 | |
| 1112 | // ------------------------------------------------------------------------- |
| 1113 | // Trunk Value Encoding Tests |
nothing calls this directly
no outgoing calls
no test coverage detected