()
| 491 | |
| 492 | #[test] |
| 493 | fn test_vertex_length() { |
| 494 | let hash = Hash::of(b"change"); |
| 495 | let node = make_external_vertex(Some(hash), 10, 25); |
| 496 | |
| 497 | // Length should be end - start = 15 |
| 498 | let len: u64 = node.end.get(); |
| 499 | let start: u64 = node.start.get(); |
| 500 | assert_eq!(len - start, 15); |
| 501 | } |
| 502 | |
| 503 | // Context Direction Tests |
| 504 |
nothing calls this directly
no test coverage detected