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

Function test_default_options

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

Source from the content-addressed store, hash-verified

526
527 #[test]
528 fn test_default_options() {
529 let options = ApplyOptions::default();
530
531 assert!(options.validate_ordering());
532 assert!(options.validate_references());
533 assert!(options.track_conflicts());
534 assert!(!options.fail_on_conflict());
535 assert!(!options.allow_duplicate_ids());
536 assert!(options.update_reverse_indexes());
537 assert!(options.max_operations().is_none());
538 assert!(options.validate_content_ranges());
539 }
540
541 #[test]
542 fn test_default_has_validation() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected