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

Function test_context_file_learning_count

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

Source from the content-addressed store, hash-verified

710
711 #[test]
712 fn test_context_file_learning_count() {
713 let learnings = Learnings {
714 repo: vec!["a".into(), "b".into()],
715 code: vec![CodeLearning::new("f", None, "c")], // not counted
716 workflow: vec!["d".into()],
717 };
718 assert_eq!(context_file_learning_count(&learnings), 3); // 2 repo + 1 workflow
719 }
720
721 #[test]
722 fn test_format_code_learning_no_line() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected