()
| 212 | |
| 213 | #[test] |
| 214 | fn program_terms_enable_program_tool() { |
| 215 | let selected = select_tools_for_prompt( |
| 216 | &defs(&["read", "grep", "program"]), |
| 217 | "build a repo map before changing the module", |
| 218 | ); |
| 219 | let names: Vec<_> = selected.iter().map(|t| t.name.as_str()).collect(); |
| 220 | |
| 221 | assert!(names.contains(&"read")); |
| 222 | assert!(names.contains(&"grep")); |
| 223 | assert!(names.contains(&"program")); |
| 224 | } |
| 225 | |
| 226 | #[test] |
| 227 | fn web_and_git_terms_enable_relevant_tools() { |
nothing calls this directly
no test coverage detected