()
| 632 | |
| 633 | #[test] |
| 634 | fn test_new_vertex_display() { |
| 635 | let nv = Insertion { |
| 636 | predecessors: vec![test_hash_position(0)], |
| 637 | successors: vec![test_hash_position(10)], |
| 638 | flag: EdgeFlags::BLOCK, |
| 639 | start: ChangePosition::new(100), |
| 640 | end: ChangePosition::new(200), |
| 641 | inode: test_hash_position(0), |
| 642 | }; |
| 643 | |
| 644 | let display = format!("{}", nv); |
| 645 | assert!(display.contains("100")); |
| 646 | assert!(display.contains("200")); |
| 647 | assert!(display.contains("1 up")); |
| 648 | assert!(display.contains("1 down")); |
| 649 | } |
| 650 | |
| 651 | #[test] |
| 652 | fn test_new_vertex_json_roundtrip() { |
nothing calls this directly
no test coverage detected