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

Function test_insert_outcome_new

atomic-repository/src/apply/tests.rs:92–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90
91#[test]
92fn test_insert_outcome_new() {
93 let state = Merkle::of(b"test");
94 let stats = InsertStats::new();
95 let outcome = InsertOutcome::new(state, 1, false, stats);
96
97 assert_eq!(outcome.new_state, state);
98 assert_eq!(outcome.sequence, 1);
99 assert!(!outcome.has_conflicts);
100}
101
102// Error Tests
103

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected