1
0
mirror of synced 2026-01-21 02:27:21 +00:00
Interlisp.medley/internal/test/IO/Auto/IO-REGRESSION.TEST

5 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(DO-TEST "parse-NAMESTRING INDEX WITHOUT A START KEYWORD" (multiple-value-bind (a b)(parse-namestring "{DSK}")(eq b 5)))
(DO-TEST "parse-NAMESTRING INDEX WITH A START KEYWORD" (multiple-value-bind (a b)(parse-namestring "foo{DSK}" nil nil :start 3)(eq b 8)))
(do-test "namestring sensitivity to *print-base*"
(let ((*print-base* 2)) (equal (namestring "foo.;8") "foo.;8")))
(do-test "namestring radix bug"
(let ((*print-base* 2))
(eq (length (namestring "foo.bar;8")) 9)))
(do-test "defaultprintertype"
(equal il:defaultprintertype 'IL:INTERPRESS))
(do-test "WRITE-to-string :CAPITALIZE"
(equal (write-to-string 'foo :escape nil :case :capitalize) "Foo"))
(do-test "Provide stores module names as strings"
(provide 'hello)
(equal (car *modules*) "HELLO"))
(do-test "peek-char " (setq a (peek-char nil t))
(eq a '#\Newline))
(do-test "il:peekc" (setq a (il:peekc nil t))
(eq a 'il:\
))
(DO-TEST "*print-level*" (eq *print-level* nil))
(do-test "enough-namestring bug"
(cl:enough-namestring "{eris}<lispcore>sources>foo.bar;7"))
?1(DEFAULTFONT 1 (GACHA 10) (GACHA 8) (TERMINAL 8))

TIMESROMAN
?1(DEFAULTFONT 1 (GACHA 10) (GACHA 8) (TERMINAL 8))
4^