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

Function test_exceeds_limit_no_limit

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

Source from the content-addressed store, hash-verified

769
770 #[test]
771 fn test_exceeds_limit_no_limit() {
772 let options = ApplyOptions::builder().max_operations(None).build();
773 assert!(!options.exceeds_limit(0));
774 assert!(!options.exceeds_limit(1000));
775 assert!(!options.exceeds_limit(usize::MAX));
776 }
777
778 #[test]
779 fn test_exceeds_limit_with_limit() {

Callers

nothing calls this directly

Calls 2

max_operationsMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected