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

Function test_display_with_max

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

Source from the content-addressed store, hash-verified

815
816 #[test]
817 fn test_display_with_max() {
818 let options = ApplyOptions::builder().max_operations(Some(500)).build();
819 let display = options.to_string();
820 assert!(display.contains("500"));
821 }
822
823 // Serialization Tests
824

Callers

nothing calls this directly

Calls 2

max_operationsMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected