bldc/tests/test_dot_1.lisp

8 lines
95 B
Common Lisp

(define x (vector 1 2 3))
(define y (vector 1 5 7))
(define r (dot x y))
(check (= r 32.0))