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

Function test_options_chaining

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

Source from the content-addressed store, hash-verified

1030
1031 #[test]
1032 fn test_options_chaining() {
1033 let opts = FileOutputOptions::new()
1034 .include_deleted(true)
1035 .max_vertices(5000)
1036 .flush_after_write(false);
1037
1038 assert!(opts.include_deleted);
1039 assert_eq!(opts.max_vertices, Some(5000));
1040 assert!(!opts.flush_after_write);
1041 }
1042
1043 #[test]
1044 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