Fix 14 wave-4 re-review findings (batches w4a+w4b)
This commit is contained in:
1 parent
a28a35991f
commit
fd5e11cdeb
23 files changed
+98
-29
No files matched your search
@@ -29,8 +29,12 @@
|
||||
;;; them unchanged.
|
||||
;;; ------------------------------------------------------------------
|
||||
|
||||
(check (let ((q (double-point (make-instance 'point :x 3 :y 4))))
|
||||
(and (eql 6 (point-x q)) (eql 8 (point-y q)))))
|
||||
(check (let* ((p (make-instance 'point :x 3 :y 4))
|
||||
(q (double-point p)))
|
||||
(and (not (eq q p))
|
||||
(eql 3 (point-x p))
|
||||
(eql 6 (point-x q))
|
||||
(eql 8 (point-y q)))))
|
||||
(check (let ((p (shift-x (make-instance 'point :x 1))))
|
||||
(eql 2 (point-x p))))
|
||||
(check (let ((p (shift-x (make-instance 'point :x 10))))
|
||||
|
||||
Reference in new issue
Block a user