inital commit

This commit is contained in:
KingKDot
2026-03-05 00:04:26 -06:00
commit f8515a2883
269 changed files with 47081 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package main
import (
"testing"
"time"
rt "overlord-client/cmd/agent/runtime"
)
func TestMinDuration(t *testing.T) {
if got := rt.MinDuration(1*time.Second, 5*time.Second); got != 1*time.Second {
t.Fatalf("expected shorter duration returned, got %s", got)
}
if got := rt.MinDuration(5*time.Second, 1*time.Second); got != 1*time.Second {
t.Fatalf("expected shorter duration returned, got %s", got)
}
}