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

Function test_ordering_entry_new

atomic-core/src/crdt/apply/order.rs:558–562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

556
557 #[test]
558 fn test_ordering_entry_new() {
559 let entry: OrderingEntry<i32> = OrderingEntry::new(5, Some(3));
560 assert_eq!(entry.id(), &5);
561 assert_eq!(entry.after(), Some(&3));
562 }
563
564 #[test]
565 fn test_ordering_entry_at_start() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected