keysyms: Introduce tests for this package
This commit is contained in:
parent
b681aafaff
commit
65d3b406c0
|
@ -0,0 +1,9 @@
|
|||
from keysyms import keysymdef
|
||||
|
||||
|
||||
def test_keysymdef():
|
||||
key_mapping = keysymdef.key_symbols
|
||||
|
||||
assert key_mapping["0"] == 48
|
||||
assert key_mapping["A"] == 65
|
||||
assert key_mapping["a"] == 97
|
Loading…
Reference in New Issue