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 1080


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

* empty log message *

File:
1 edited

Legend:

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

    r1079 r1080  
    195195(test poly-reader
    196196  "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))
    198199              (make-poly-from-termlist (list (make-term (make-monom :initial-exponents '(2 0)) 1)
    199200                                             (make-term (make-monom :initial-exponents '(0 2)) 1))))))
    200   (is (equalp
    201        (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))))))
    206201
    207202(run! 'ngrobner-suite)
Note: See TracChangeset for help on using the changeset viewer.