45 lines
70 KiB
Plaintext
45 lines
70 KiB
Plaintext
Scripts for testing the record package (assuming currently in Common Lisp User package)
|
||
--------------------------------------------------------
|
||
|
||
Record type - Record
|
||
|
||
type:
|
||
(il:record record-test-name (alpha bravo gamma) (il:synonym alpha a) (il:type? (oddp (length il:datum))))
|
||
(setq record-test-record (il:create record-test-name alpha il:_ '(a b c) bravo il:_ "some string"))
|
||
|
||
type:
|
||
(inspect record-test-record)
|
||
|
||
choose "inspect"
|
||
--should produce a window with three numbered elements 1 (a b c), 2 "some string", 3 nil
|
||
|