keysyms: Introduce tests for this package

This commit is contained in:
MattHag 2024-09-25 23:14:29 +02:00 committed by Peter F. Patel-Schneider
parent b681aafaff
commit 65d3b406c0
2 changed files with 9 additions and 0 deletions

View File

View File

@ -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