Changeset 1080 for branches/f4grobner
- Timestamp:
- 2015-06-10T09:33:33-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r1079 r1080 195 195 (test poly-reader 196 196 "Polynomial reader" 197 (is (equalp (with-input-from-string (s "x^2+y^2") (poly-reader '(x y) s) 197 (is (equalp (with-input-from-string (s "x^2+y^2") 198 (poly-reader '(x y) s)) 198 199 (make-poly-from-termlist (list (make-term (make-monom :initial-exponents '(2 0)) 1) 199 200 (make-term (make-monom :initial-exponents '(0 2)) 1)))))) 200 (is (equalp201 (print (with-input-from-string (s "[x^2-y^2+(-4/3)*u^2*w^3-5,y]")202 (poly-reader '(x y u w) s)))203 '([ (((0 0 2 3) . -4/3) ((0 2 0 0) . -1) ((2 0 0 0) . 1)204 ((0 0 0 0) . -5))205 (((0 1 0 0) . 1))))))206 201 207 202 (run! 'ngrobner-suite)
Note:
See TracChangeset
for help on using the changeset viewer.