support alpha, numeric, f0..10, punctuation, math keys
This commit is contained in:
@@ -12,7 +12,7 @@ func TestFromChar(t *testing.T) {
|
||||
if got := FromChar('A'); got != A {
|
||||
t.Error(got)
|
||||
}
|
||||
if got := FromChar('!'); got != Undef {
|
||||
if got := FromChar(byte(0)); got != Undef {
|
||||
t.Error(got)
|
||||
}
|
||||
if got := ToChar(A); got != 'a' {
|
||||
|
||||
Reference in New Issue
Block a user