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

Function test_tool_constructors

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

Source from the content-addressed store, hash-verified

57
58#[test]
59fn test_tool_constructors() {
60 assert_eq!(AITool::editor("zed"), AITool::Editor("zed".to_string()));
61 assert_eq!(AITool::cli("atomic"), AITool::Cli("atomic".to_string()));
62 assert_eq!(
63 AITool::ide_plugin("copilot"),
64 AITool::IdePlugin("copilot".to_string())
65 );
66}
67
68#[test]
69fn test_tool_json_roundtrip() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected