mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-11-29 06:23:23 +01:00
13 lines
322 B
Go
13 lines
322 B
Go
package config
|
|
|
|
import "testing"
|
|
|
|
func TestAgentRuntimeIsPiOnly(t *testing.T) {
|
|
if (AgentRuntimeConfig{}).Validate() != nil || (AgentRuntimeConfig{Engine: "pi"}).Validate() != nil {
|
|
t.Fatal("Pi default rejected")
|
|
}
|
|
if (AgentRuntimeConfig{Engine: "eino"}).Validate() == nil {
|
|
t.Fatal("retired engine accepted")
|
|
}
|
|
}
|