MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_vertex_id_ordering

Function test_vertex_id_ordering

atomic-core/src/output/alive/vertex.rs:471–478  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

469
470 #[test]
471 fn test_vertex_id_ordering() {
472 let v1 = VertexId::new(1);
473 let v2 = VertexId::new(2);
474 let v3 = VertexId::new(1);
475
476 assert!(v1 < v2);
477 assert_eq!(v1, v3);
478 }
479
480 #[test]
481 fn test_vertex_id_hash() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected