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

Function test_learnings_total

atomic-agent/src/transcript/tests.rs:611–619  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

609
610#[test]
611fn test_learnings_total() {
612 let l = Learnings {
613 repo: vec!["a".into(), "b".into()],
614 code: vec![CodeLearning::new("f", None, "c")],
615 workflow: vec!["d".into()],
616 };
617 assert_eq!(l.total(), 4);
618 assert!(!l.is_empty());
619}
620
621// EntryType
622

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected