Add tests for parseCode #6

Merged
anna merged 2 commits from even-more-tests into main 2025-07-17 23:06:28 +00:00
Showing only changes of commit c23ec06376 - Show all commits

View file

@ -103,7 +103,8 @@ func (t *EventCodeParserTests) TestParseCodeInvalid() {
{"badbutton", "BTN"}, {"badbutton", "BTN"},
{"ABS_X", "BTN"}, {"ABS_X", "BTN"},
{"!@#$%^&*(){}-_", "BTN"}, {"!@#$%^&*(){}-_", "BTN"},
{"RE_X", "ABS"}, {"REL_X", "ABS"},
{"ABS_W", "ABS"},
{"0", "ABS"}, {"0", "ABS"},
{"0xg", "ABS"}, {"0xg", "ABS"},
} }