Skip to content

Commit

Permalink
Update ascii_test.jou
Browse files Browse the repository at this point in the history
  • Loading branch information
littlewhitecloud authored Dec 6, 2023
1 parent fabd8a8 commit 96deeec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/should_succeed/ascii_test.jou
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ def main() -> int:
assert is_ascii_digit('0')
assert is_ascii_digit('7')
assert is_ascii_digit('9')
assert not is_ascii_digit('x')
assert not is_ascii_digit('\0')

assert is_ascii_letter('A')
assert is_ascii_letter('Z')
assert is_ascii_letter('a')
assert is_ascii_letter('z')
assert not is_ascii_digit('x')
assert not is_ascii_digit('\0')
assert not is_ascii_letter('\0')
assert not is_ascii_letter('\x')
assert not is_ascii_letter('\b')

assert is_ascii_punctuation('!')
assert is_ascii_punctuation('_')
Expand Down

0 comments on commit 96deeec

Please sign in to comment.