Changeset 1083
- Timestamp:
- 2015-06-10T09:38:13-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r1082 r1083 195 195 (test poly-reader 196 196 "Polynomial reader" 197 (is (equalp (with-input-from-string(s "X^2-Y^2+(-4/3)*U^2*W^3-5")(read-infix-form s)) 198 '(+ (- (EXPT X 2) (EXPT Y 2)) (* (- (/ 4 3)) (EXPT U 2) (EXPT W 3)) (- 5)))) 197 199 (is (equalp (with-input-from-string (s "x^2+2*y^2") 198 200 (poly-reader '(x y) s))
Note:
See TracChangeset
for help on using the changeset viewer.