mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-06-22 22:06:40 +02:00
Adding make-rtd test.
This commit is contained in:
parent
5633b1dcf9
commit
51df221034
1 changed files with 5 additions and 0 deletions
|
@ -172,4 +172,9 @@
|
|||
|
||||
;; (test-assert (not (rtd-field-mutable? foo 'x)))
|
||||
|
||||
(define point (make-rtd "point" #(x y)))
|
||||
(define make-point (rtd-constructor point #(x y)))
|
||||
(define point-x (rtd-accessor point 'x))
|
||||
(test 3 (point-x (make-point 3 2)))
|
||||
|
||||
(test-end)
|
||||
|
|
Loading…
Add table
Reference in a new issue