(t *testing.T)
| 12 | ) |
| 13 | |
| 14 | func TestNewPiEngine(t *testing.T) { |
| 15 | engine := NewPiEngine() |
| 16 | require.NotNil(t, engine, "NewPiEngine should return a non-nil engine") |
| 17 | assert.Equal(t, "pi", engine.GetID(), "Engine ID should be 'pi'") |
| 18 | assert.Equal(t, "Pi", engine.GetDisplayName(), "Display name should be 'Pi'") |
| 19 | assert.True(t, engine.IsExperimental(), "Pi engine should be experimental") |
| 20 | capabilities := engine.GetCapabilities() |
| 21 | assert.True(t, capabilities.ToolsAllowlist, "Pi should support tools allowlist (needed for gh-proxy/cli-proxy settings)") |
| 22 | assert.True(t, capabilities.MaxTurns, "Pi should support max turns") |
| 23 | } |
| 24 | |
| 25 | func TestPiEngine_GetModelEnvVarName(t *testing.T) { |
| 26 | engine := NewPiEngine() |
nothing calls this directly
no test coverage detected