()
| 571 | |
| 572 | #[test] |
| 573 | fn test_branch_with_hash() { |
| 574 | let branch = Branch::with_hash( |
| 575 | BranchId::new(NodeId::new(1), 0), |
| 576 | TrunkId::new(NodeId::new(1), 0), |
| 577 | 12345, |
| 578 | ); |
| 579 | assert_eq!(branch.line_hash(), 12345); |
| 580 | } |
| 581 | |
| 582 | #[test] |
| 583 | fn test_branch_set_state() { |
nothing calls this directly
no outgoing calls
no test coverage detected