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:
2016-06-10T19:45:42-07:00 (8 years ago)
Author:
Marek Rychlik
Message:
 
File:
1 edited

Legend:

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

    r4335 r4442  
    8888  )
    8989
     90(test poly-add-more
     91  "More polynomial addition"
     92  (is (equal (poly->alist (add-to
     93                           (alist->poly '(((0) . 1)))
     94                           (alist->poly '(((1) . 2)))))
     95             '(((1) . 2) ((0) . 1))))
     96  (is (equal (poly->alist (add-to
     97                           (alist->poly '(((0) . 1)))
     98                           (alist->poly '(((0) . 2)))))
     99           '(((0) . 3))))
     100  (is (equal (poly->alist (add-to
     101                           (alist->poly '(((0) . 1) ((2) . 5)))
     102                           (alist->poly '(((1) . 2) ((3) . 7)))))
     103             '(((3) . 7) ((2) . 5) ((1) . 2) ((0) . 1)))))
     104
    90105(def-fixture poly-multiply-context ()
    91106  (let ((p (make-instance 'poly))
Note: See TracChangeset for help on using the changeset viewer.