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

Function test_clone

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

Source from the content-addressed store, hash-verified

856
857 #[test]
858 fn test_clone() {
859 let options = ApplyOptions::builder().max_operations(Some(100)).build();
860 let cloned = options.clone();
861 assert_eq!(options, cloned);
862 }
863
864 #[test]
865 fn test_debug_format() {

Callers

nothing calls this directly

Calls 3

max_operationsMethod · 0.80
buildMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected