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

Function test_dedup_no_existing

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

Source from the content-addressed store, hash-verified

842
843 #[test]
844 fn test_dedup_no_existing() {
845 let learnings = Learnings {
846 repo: vec!["New learning".into()],
847 code: vec![],
848 workflow: vec![],
849 };
850 let deduped = dedup_learnings("", &learnings);
851 assert_eq!(deduped.repo.len(), 1);
852 }
853
854 #[test]
855 fn test_dedup_removes_existing() {

Callers

nothing calls this directly

Calls 1

dedup_learningsFunction · 0.85

Tested by

no test coverage detected