(t *testing.T)
| 52 | } |
| 53 | |
| 54 | func TestClassifyTaskCoding(t *testing.T) { |
| 55 | cases := []string{ |
| 56 | "write a function to sort the list", |
| 57 | "debug this code", |
| 58 | "implement a binary search algorithm", |
| 59 | "fix the bug in the api endpoint", |
| 60 | } |
| 61 | for _, q := range cases { |
| 62 | tt := ClassifyTask(q) |
| 63 | if tt != TaskCoding { |
| 64 | t.Errorf("expected coding for %q, got %s", q, tt) |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | func TestClassifyTaskMultiStep(t *testing.T) { |
| 70 | cases := []string{ |
nothing calls this directly
no test coverage detected