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:1407–1417  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1405
1406 #[test]
1407 fn test_turn_changes_file_count_mixed() {
1408 let changes = TurnChanges::new()
1409 .with_modified(vec![PathBuf::from("a"), PathBuf::from("b")])
1410 .with_added(vec![PathBuf::from("c")])
1411 .with_deleted(vec![
1412 PathBuf::from("d"),
1413 PathBuf::from("e"),
1414 PathBuf::from("f"),
1415 ]);
1416 assert_eq!(changes.file_count(), 6);
1417 }
1418
1419 #[test]
1420 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