()
| 482 | |
| 483 | #[test] |
| 484 | fn test_empty_vertex() { |
| 485 | let hash = Hash::of(b"change"); |
| 486 | let node = make_external_vertex(Some(hash), 10, 10); |
| 487 | |
| 488 | // Empty span has start == end |
| 489 | assert_eq!(node.start, node.end); |
| 490 | } |
| 491 | |
| 492 | #[test] |
| 493 | fn test_vertex_length() { |
nothing calls this directly
no test coverage detected