Changeset 2765
- Timestamp:
- 03/19/08 17:15:51 (10 months ago)
- Files:
-
- trunk/bknr/datastore/src/data/encoding-test.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/bknr/datastore/src/data/encoding-test.lisp
r2764 r2765 108 108 :fill-pointer 3)) 109 109 110 (test:test string.random 111 (test:for-all ((string (test:gen-string))) 112 (test:is (congruent-p string (copy-by-encoding string))))) 113 110 114 (test:test string.decode-utf-8 111 115 (labels ((decode-string-from-octets (octets) … … 113 117 (bknr.datastore::%decode-string in)))) 114 118 (test:is (string-equal "<=>" (decode-string-from-octets #(1 3 60 61 62)))) 119 ;; #\? is the substitution char 115 120 (test:is (string-equal "<?>" (decode-string-from-octets #(1 3 60 188 62)))) 116 121 (test:for-all ((octets (test:gen-buffer)))
