mirror of
https://github.com/db9979/sshtermy.git
synced 2026-12-06 12:44:08 +01:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUhyZeAnaXMQzGXmQU3
16 lines
323 B
Go
16 lines
323 B
Go
package icon
|
|
|
|
import "testing"
|
|
|
|
func TestWindow(t *testing.T) {
|
|
ims := Window()
|
|
if len(ims) != 4 {
|
|
t.Fatalf("%d Bilder, erwartet 4", len(ims))
|
|
}
|
|
for i, want := range []int{16, 32, 48, 256} {
|
|
if b := ims[i].Bounds(); b.Dx() != want || b.Dy() != want {
|
|
t.Errorf("Bild %d: %v, erwartet %d px", i, b, want)
|
|
}
|
|
}
|
|
}
|