(t *testing.T)
| 8 | ) |
| 9 | |
| 10 | func TestNewTaskTool(t *testing.T) { |
| 11 | tool, err := NewTaskTool(nil) |
| 12 | if err != nil { |
| 13 | t.Fatalf("Failed to create Task tool: %v", err) |
| 14 | } |
| 15 | |
| 16 | if tool.Name() != "Task" { |
| 17 | t.Errorf("Expected tool name 'Task', got '%s'", tool.Name()) |
| 18 | } |
| 19 | |
| 20 | if tool.Description() == "" { |
| 21 | t.Error("Tool description should not be empty") |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | func TestTaskTool_InputSchema(t *testing.T) { |
| 26 | tool, err := NewTaskTool(nil) |
nothing calls this directly
no test coverage detected