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

Function test_tool_description

atomic-core/src/change/provenance/tests.rs:48–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47#[test]
48fn test_tool_description() {
49 assert_eq!(AITool::Api.description(), "API");
50 assert_eq!(AITool::Chat.description(), "Chat");
51 assert_eq!(
52 AITool::Editor("vscode".to_string()).description(),
53 "Editor: vscode"
54 );
55 assert_eq!(AITool::editor("zed").description(), "Editor: zed");
56}
57
58#[test]
59fn test_tool_constructors() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected