(t *testing.T)
| 466 | } |
| 467 | |
| 468 | func TestComputeMCPToolsDiff_BothNil(t *testing.T) { |
| 469 | diff := computeMCPToolsDiff(nil, nil) |
| 470 | |
| 471 | assert.Empty(t, diff.NewTools, "Should have no new tools") |
| 472 | assert.Empty(t, diff.RemovedTools, "Should have no removed tools") |
| 473 | assert.Empty(t, diff.ChangedTools, "Should have no changed tools") |
| 474 | assert.False(t, diff.Summary.HasAnomalies, "Should have no anomalies") |
| 475 | } |
| 476 | |
| 477 | func TestComputeMCPToolsDiff_NoChanges(t *testing.T) { |
| 478 | toolSummary := []MCPToolSummary{ |
nothing calls this directly
no test coverage detected