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

Function test_fast_preset

atomic-core/src/crdt/apply/options.rs:588–598  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

586
587 #[test]
588 fn test_fast_preset() {
589 let options = ApplyOptions::fast();
590
591 assert!(!options.validate_ordering());
592 assert!(options.validate_references()); // Still checks references
593 assert!(!options.track_conflicts());
594 assert!(!options.fail_on_conflict());
595 assert!(!options.allow_duplicate_ids());
596 assert!(options.update_reverse_indexes());
597 assert!(!options.validate_content_ranges());
598 }
599
600 #[test]
601 fn test_fast_has_some_validation() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected