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

Function test_external_vertex_equality

atomic-core/src/apply/position.rs:389–397  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

387
388 #[test]
389 fn test_external_vertex_equality() {
390 let hash = Hash::of(b"test");
391 let v1 = make_external_vertex(Some(hash), 10, 20);
392 let v2 = make_external_vertex(Some(hash), 10, 20);
393 let v3 = make_external_vertex(Some(hash), 10, 21);
394
395 assert_eq!(v1, v2);
396 assert_ne!(v1, v3);
397 }
398
399 // Internal Position Tests
400

Callers

nothing calls this directly

Calls 1

make_external_vertexFunction · 0.70

Tested by

no test coverage detected