Adding make-rtd test.

This commit is contained in:
Alex Shinn 2012-02-12 13:40:16 +09:00
parent 5633b1dcf9
commit 51df221034

View file

@ -172,4 +172,9 @@
;; (test-assert (not (rtd-field-mutable? foo 'x))) ;; (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) (test-end)