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

Function test_turn_changes_file_count_mixed

atomic-agent/src/event.rs:1024–1034  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1022
1023 #[test]
1024 fn test_turn_changes_file_count_mixed() {
1025 let changes = TurnChanges::new()
1026 .with_modified(vec![PathBuf::from("a"), PathBuf::from("b")])
1027 .with_added(vec![PathBuf::from("c")])
1028 .with_deleted(vec![
1029 PathBuf::from("d"),
1030 PathBuf::from("e"),
1031 PathBuf::from("f"),
1032 ]);
1033 assert_eq!(changes.file_count(), 6);
1034 }
1035
1036 #[test]
1037 fn test_turn_changes_merge_empty() {

Callers

nothing calls this directly

Calls 3

with_deletedMethod · 0.80
with_addedMethod · 0.80
with_modifiedMethod · 0.80

Tested by

no test coverage detected