Verify deterministic movement from observations

Co-authored-by: codegirl007 <codegirl-007@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-08-17 16:49:37 +00:00
co-authored by codegirl007
parent 3037dbc2dd
commit c4f8dbeaaf
7 changed files with 154 additions and 23 deletions
@@ -0,0 +1,18 @@
package dockerx11
import "testing"
func TestX11KeyTranslatesLogicalNames(t *testing.T) {
tests := map[string]string{
"RIGHT": "Right",
"LEFT": "Left",
"ENTER": "Return",
"ESCAPE": "Escape",
"A": "a",
}
for input, want := range tests {
if got := x11Key(input); got != want {
t.Errorf("x11Key(%q) = %q, want %q", input, got, want)
}
}
}