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

Function test_strict_preset

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

Source from the content-addressed store, hash-verified

556
557 #[test]
558 fn test_strict_preset() {
559 let options = ApplyOptions::strict();
560
561 assert!(options.validate_ordering());
562 assert!(options.validate_references());
563 assert!(options.track_conflicts());
564 assert!(options.fail_on_conflict());
565 assert!(!options.allow_duplicate_ids());
566 assert!(options.update_reverse_indexes());
567 assert!(options.validate_content_ranges());
568 assert!(options.is_strict());
569 assert!(!options.is_lenient());
570 }
571
572 #[test]
573 fn test_lenient_preset() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected