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

Function test_entry_tool

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

Source from the content-addressed store, hash-verified

21
22#[test]
23fn test_entry_tool() {
24 let e = CondensedEntry::tool("Edit", Some("src/main.rs"));
25 assert!(e.is_tool());
26 assert_eq!(e.tool_name.as_deref(), Some("Edit"));
27 assert_eq!(e.tool_detail.as_deref(), Some("src/main.rs"));
28}
29
30#[test]
31fn test_entry_tool_no_detail() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected