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

Function test_dedup_no_existing

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

dedup_learningsFunction · 0.85

Tested by

no test coverage detected