(t *testing.T)
| 176 | } |
| 177 | |
| 178 | func TestComputeFirewallDiff_BothNil(t *testing.T) { |
| 179 | diff := computeFirewallDiff(100, 200, nil, nil) |
| 180 | |
| 181 | assert.Empty(t, diff.NewDomains, "Should have no new domains") |
| 182 | assert.Empty(t, diff.RemovedDomains, "Should have no removed domains") |
| 183 | assert.Empty(t, diff.StatusChanges, "Should have no status changes") |
| 184 | assert.Empty(t, diff.VolumeChanges, "Should have no volume changes") |
| 185 | assert.False(t, diff.Summary.HasAnomalies, "Should have no anomalies") |
| 186 | } |
| 187 | |
| 188 | func TestComputeFirewallDiff_Run1Nil(t *testing.T) { |
| 189 | run2 := &FirewallAnalysis{ |
nothing calls this directly
no test coverage detected