()
| 529 | |
| 530 | #[test] |
| 531 | fn test_leaf_is_empty() { |
| 532 | let empty_leaf = Leaf::new( |
| 533 | LeafId::new(NodeId::new(1), 0), |
| 534 | BranchId::new(NodeId::new(1), 0), |
| 535 | TokenKind::Whitespace, |
| 536 | 10..10, |
| 537 | ); |
| 538 | assert!(empty_leaf.is_empty()); |
| 539 | assert!(!make_leaf().is_empty()); |
| 540 | } |
| 541 | |
| 542 | #[test] |
| 543 | fn test_leaf_is_significant() { |
nothing calls this directly
no outgoing calls
no test coverage detected