Skip to content

Commit

Permalink
keysyms: Introduce tests for this package
Browse files Browse the repository at this point in the history
  • Loading branch information
MattHag authored and pfps committed Oct 11, 2024
1 parent b681aaf commit 65d3b40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Empty file added tests/test_keysyms/__init__.py
Empty file.
9 changes: 9 additions & 0 deletions tests/test_keysyms/test_keysymdef.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 65d3b40

Please sign in to comment.