feat(v2): complete Go inference and UI spike

This commit is contained in:
ila
2026-07-22 16:01:28 +08:00
parent 104608751a
commit 22aadf2b26
16 changed files with 411 additions and 13 deletions
+16
View File
@@ -0,0 +1,16 @@
package ui
import "testing"
func TestMonitorWindowSpecUsesLightMonitoringLayout(t *testing.T) {
spec := MonitorWindowSpec()
if spec.Title != "Silver Pose V2 · 技术 Spike" {
t.Fatalf("title = %q", spec.Title)
}
if spec.Width != 1120 || spec.Height != 720 {
t.Fatalf("size = %dx%d, want 1120x720", spec.Width, spec.Height)
}
if spec.BackgroundHex != "#F3F6FA" || spec.AlertHex != "#C62828" {
t.Fatalf("unexpected colours: background=%s alert=%s", spec.BackgroundHex, spec.AlertHex)
}
}