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

Function test_apply_result_new

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

Source from the content-addressed store, hash-verified

422
423 #[test]
424 fn test_apply_result_new() {
425 let state = Merkle::of(b"test state");
426 let result = ApplyResult::new(state, 5, false);
427
428 assert_eq!(result.new_state, state);
429 assert_eq!(result.sequence, 5);
430 assert!(!result.has_conflicts);
431 }
432
433 #[test]
434 fn test_apply_result_with_conflicts() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected