(t *testing.T)
| 370 | } |
| 371 | |
| 372 | func TestGetEffectiveCooldown(t *testing.T) { |
| 373 | t.Parallel() |
| 374 | |
| 375 | agentNoConfig := agent.New("no-config", "test") |
| 376 | assert.Equal(t, modelerrors.DefaultCooldown, getEffectiveCooldown(agentNoConfig), "should use default cooldown") |
| 377 | |
| 378 | agentWithConfig := agent.New("with-config", "test", agent.WithFallbackCooldown(5*time.Minute)) |
| 379 | assert.Equal(t, 5*time.Minute, getEffectiveCooldown(agentWithConfig), "should use configured cooldown") |
| 380 | } |
| 381 | |
| 382 | func TestGetEffectiveRetries(t *testing.T) { |
| 383 | t.Parallel() |
nothing calls this directly
no test coverage detected