Skip to content

Commit

Permalink
Implement small test
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Vanloo committed Mar 20, 2024
1 parent 098cd1c commit fc11fb4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/linkplay/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
def test_decode_hexstr():
"""Tests the decode_hexstr function."""
assert "Unknown" == decode_hexstr('556E6B6E6F776E')


def test_decode_hexstr_invalid():
"""Tests the decode_hexstr function upon invalid input."""
assert "ABCDEFGHIJKLMNOPQRSTUVWXYZ" == decode_hexstr('ABCDEFGHIJKLMNOPQRSTUVWXYZ')

0 comments on commit fc11fb4

Please sign in to comment.