- Timestamp:
- 2015-06-09T12:09:15-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r867 r885 80 80 (test monom 81 81 "monom" 82 (is (e qualp (monom-exponents (make-monom :dimension 3)) #(0 0 0)) "Trivial monomial is a vector of 0's")83 (is (e qualp (monom-exponents (make-monom :initial-exponents '(1 2 3))) #(1 2 3)) "Monomial with powers 1,2,3")82 (is (every #'= (make-monom :dimension 3) '(0 0 0)) "Trivial monomial is a vector of 0's") 83 (is (every #'= (make-monom :initial-exponents '(1 2 3)) '(1 2 3)) "Monomial with powers 1,2,3") 84 84 (let ((p (make-monom :initial-exponents '(1 2 3)))) 85 (is (e qualp (monom-map (lambda (x) x) p)) #(1 2 3))))85 (is (every #'= (monom-map (lambda (x) x) p) '(1 2 3))))) 86 86 87 87
Note:
See TracChangeset
for help on using the changeset viewer.