()
| 635 | |
| 636 | #[test] |
| 637 | fn test_line_new() { |
| 638 | let id = BranchId::new(crate::types::NodeId::new(1), 0); |
| 639 | let line = Line::new(id, 1, BranchState::Alive, 0); |
| 640 | |
| 641 | assert_eq!(line.number, 1); |
| 642 | assert!(line.is_alive()); |
| 643 | assert_eq!(line.token_count(), 0); |
| 644 | } |
| 645 | |
| 646 | #[test] |
| 647 | fn test_line_content() { |
nothing calls this directly
no outgoing calls
no test coverage detected