close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 1077 for branches/f4grobner


Ignore:
Timestamp:
2015-06-10T09:29:56-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/5am-tests.lisp

    r1076 r1077  
    196196(test poly-reader
    197197  "Polynomial reader"
    198   (is (equalp (with-input-from-string (s "x^2+y^2") (poly-reader  s '(x y))
     198  (is (equalp (with-input-from-string (s "x^2+y^2") (poly-reader  '(x y) s)
    199199              (make-poly-from-termlist (list (make-term (make-monom :initial-exponents '(2 0)) 1)
    200200                                             (make-term (make-monom :initial-exponents '(0 2)) 1)))))
    201201  (is (equalp
    202202       (print (with-input-from-string (s "[x^2-y^2+(-4/3)*u^2*w^3-5,y]")
    203                 (poly-reader  s '(x y u w))))
     203                (poly-reader '(x y u w) s)))
    204204       '([ (((0 0 2 3) . -4/3) ((0 2 0 0) . -1) ((2 0 0 0) . 1)
    205205            ((0 0 0 0) . -5))
Note: See TracChangeset for help on using the changeset viewer.