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

Function test_entry_user

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

Source from the content-addressed store, hash-verified

5
6#[test]
7fn test_entry_user() {
8 let e = CondensedEntry::user("Fix the bug");
9 assert!(e.is_user());
10 assert!(!e.is_assistant());
11 assert!(!e.is_tool());
12 assert_eq!(e.content.as_deref(), Some("Fix the bug"));
13}
14
15#[test]
16fn test_entry_assistant() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected