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 1548


Ignore:
Timestamp:
2015-06-12T15:41:14-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1537 r1548  
    275275    (is (every #'poly-equal-no-sugar-p (gebauer-moeller ring-and-order fl) gb))))
    276276
    277 (test gb-postprocessing
    278   "Grobner basis postprocessing"
     277(test reduction
     278  "Reduction algorithm"
    279279  (let* ((fl (cdr (string->poly "[x+y,x-2*y]" '(x y))))
    280280         (ring *ring-of-integers*)
     
    289289    (is (equalp (minimization gb) minimal-gb))))
    290290
     291(test minimization
     292  "Minimization algorithm"
     293  (let* ((gb (cdr (string->poly "[x,y,x-2*y,x^2]" '(x y))))
     294         (minimal-gb (cdr (string->poly "[y,x-2*y]" '(x y)))))
     295    (is (equalp (minimization gb) minimal-gb))))
     296
    291297(test grobner-wrap
    292298  "Grobner interface to many algorithms"
Note: See TracChangeset for help on using the changeset viewer.