(t *testing.T)
| 67 | } |
| 68 | |
| 69 | func TestClassifyTaskMultiStep(t *testing.T) { |
| 70 | cases := []string{ |
| 71 | "first find the repo and then list its issues", |
| 72 | "search for the user, and then compare their repos, and finally summarize", |
| 73 | "find the repo, extract stars, fetch issues, and summarize the results", |
| 74 | } |
| 75 | for _, q := range cases { |
| 76 | tt := ClassifyTask(q) |
| 77 | if tt != TaskMultiStep { |
| 78 | t.Errorf("expected multi_step for %q, got %s", q, tt) |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | func TestClassifyTaskGeneral(t *testing.T) { |
| 84 | tt := ClassifyTask("hello there") |
nothing calls this directly
no test coverage detected