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 3111 for branches


Ignore:
Timestamp:
2015-06-22T07:54:08-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r3103 r3111  
    135135    (is (r-equalp (standard-extension-1 plist) plist-st-ext))))
    136136
     137(test poly-standard-sum
     138  "Standard sum"
     139  (let* ((p (alist->poly '( ((0) . 1) ((1) . 2))))
     140         (q (alist->poly '( ((0) . 1) ((2) . 3))))
     141         (plist (list p q))
     142         (std-sum (alist->poly '( ((0 0 0) . -1) ((1 0 0) . 1) ((1 0 1) . 2)
     143                                 ((0 1 0) . 1) ((0 1 2) . 3)))))
     144    (is (r-equalp (standard-sum plist) std-sum))))
     145
    137146(run! 'poly-suite)
    138147(format t "All tests done!~%")
Note: See TracChangeset for help on using the changeset viewer.