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

Function test_position_creation

atomic-core/src/apply/change.rs:538–546  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

536
537 #[test]
538 fn test_position_creation() {
539 use crate::types::Position;
540
541 let node_id = NodeId::new(42);
542 let pos = Position::new(node_id, ChangePosition::new(100));
543
544 assert_eq!(pos.change, node_id);
545 assert_eq!(pos.pos, ChangePosition::new(100));
546 }
547
548 #[test]
549 fn test_vertex_creation() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected