Raymond Toy pushed to branch issue-367-count-octets-for-encoding at cmucl / cmucl
Commits:
-
f859892f
by Raymond Toy at 2025-01-15T11:52:51-08:00
1 changed file:
Changes:
... | ... | @@ -9,14 +9,14 @@ |
9 | 9 | (let ((rs (kernel::make-random-object :state (kernel::init-random-state 27182828))))
|
10 | 10 | (lisp::codepoints-string
|
11 | 11 | (loop for k from 0 below 1000
|
12 | - collect (random 256))))
|
|
12 | + collect (random 256 rs))))
|
|
13 | 13 | "Random test string with ISO8859-1 characters")
|
14 | 14 | |
15 | 15 | (defparameter *test-unicode*
|
16 | 16 | (let ((rs (kernel::make-random-object :state (kernel::init-random-state 27182828))))
|
17 | 17 | (lisp::codepoints-string
|
18 | 18 | (loop for k from 0 below 1000
|
19 | - collect (random 20000))))
|
|
19 | + collect (random 20000 rs))))
|
|
20 | 20 | "Random test string with codepoints below 20000")
|
21 | 21 | |
22 | 22 |