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

Function test_generator_with_options

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

Source from the content-addressed store, hash-verified

705
706#[test]
707fn test_generator_with_options() {
708 let gen = ClaudeCliGenerator::new()
709 .with_claude_path("/usr/local/bin/claude")
710 .with_model("opus")
711 .with_timeout(120);
712 assert_eq!(gen.claude_path(), "/usr/local/bin/claude");
713 assert_eq!(gen.model(), "opus");
714 assert_eq!(gen.timeout_secs, 120);
715}
716
717#[test]
718fn test_generator_build_prompt() {

Callers

nothing calls this directly

Calls 3

with_modelMethod · 0.80
with_claude_pathMethod · 0.80
with_timeoutMethod · 0.45

Tested by

no test coverage detected