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

Function test_dedup_all_duplicates

atomic-agent/src/learnings.rs:871–880  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

869
870 #[test]
871 fn test_dedup_all_duplicates() {
872 let existing = format!("{}\n### Repo\n- A\n- B\n{}", SECTION_START, SECTION_END);
873 let learnings = Learnings {
874 repo: vec!["A".into(), "B".into()],
875 code: vec![],
876 workflow: vec![],
877 };
878 let deduped = dedup_learnings(&existing, &learnings);
879 assert!(deduped.is_empty());
880 }
881
882 #[test]
883 fn test_dedup_code_always_empty() {

Callers

nothing calls this directly

Calls 1

dedup_learningsFunction · 0.85

Tested by

no test coverage detected