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.

Ignore:
Timestamp:
2015-06-20T16:17:56-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2679 r2686  
    7676    (dolist (x '(((0) . -11) ((2) . 2)  ((3) . -33) ((4) . 88) ((5) . 55) ((7) . -77) ((9) . 9)))
    7777      (insert-item p-q (make-instance 'term :exponents (car x) :coeff (cdr x))))
     78    (dolist (x '( ((2) . -22)  ((4) . -44) ((5) . -55) ((8) . -88) ((9) . -99) )))
     79      (insert-item p-uminus (make-instance 'term :exponents (car x) :coeff (cdr x))))
    7880    ;;(print p) (print q) (print p+q) (print p-q)
    7981    (&body)))
     
    8385  (with-fixture poly-context () (is (r-equalp (add-to p q) p+q)))
    8486  (with-fixture poly-context () (is (r-equalp (subtract-from p q) p-q)))
     87  (with-fixture poly-context () (is (r-equalp (unary-minus p) p-uminus)))
    8588  )
    8689
Note: See TracChangeset for help on using the changeset viewer.