Skip to content

Commit bfc2b16

Browse files
committed
Add more ascii-non-control? tests
1 parent aeea1c5 commit bfc2b16

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

175.scm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@
3838
(test-eqv #f (ascii-space-or-tab? #\newline))
3939
(test-eqv #f (ascii-non-control? (integer->char #x0d)))
4040

41+
(test-eqv #f (ascii-non-control? (integer->char #x00)))
42+
(test-eqv #f (ascii-non-control? (integer->char #x1f)))
43+
(test-eqv #t (ascii-non-control? (integer->char #x20)))
44+
(test-eqv #t (ascii-non-control? (integer->char #x7e)))
45+
(test-eqv #f (ascii-non-control? (integer->char #x7f)))
46+
(test-eqv #f (ascii-non-control? (integer->char #x80)))
47+
4148
(let ((lowers "abcdefghijklmnopqrstuvwxyz")
4249
(uppers "ABCDEFGHIJKLMNOPQRSTUVWXYZ"))
4350
(let loop ((i 0))

0 commit comments

Comments
 (0)