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

Function test_custom_options

atomic-core/src/change/format_v3/chunking.rs:708–713  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

706
707 #[test]
708 fn test_custom_options() {
709 let opts = ChunkingOptions::new(1024, 4096, 16384);
710 assert_eq!(opts.min_size, 1024);
711 assert_eq!(opts.avg_size, 4096);
712 assert_eq!(opts.max_size, 16384);
713 }
714
715 #[test]
716 #[should_panic(expected = "min_size")]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected