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

Function test_options_chaining

atomic-core/src/output/repo/file.rs:1280–1289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1278
1279 #[test]
1280 fn test_options_chaining() {
1281 let opts = FileOutputOptions::new()
1282 .include_deleted(true)
1283 .max_vertices(5000)
1284 .flush_after_write(false);
1285
1286 assert!(opts.include_deleted);
1287 assert_eq!(opts.max_vertices, Some(5000));
1288 assert!(!opts.flush_after_write);
1289 }
1290
1291 #[test]
1292 fn test_options_clone() {

Callers

nothing calls this directly

Calls 3

flush_after_writeMethod · 0.80
max_verticesMethod · 0.45
include_deletedMethod · 0.45

Tested by

no test coverage detected