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 1578


Ignore:
Timestamp:
2015-06-12T16:17: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

    r1577 r1578  
    396396    (is (poly-set-equal-no-sugar-p (ideal-saturation-1 ring-and-order F p) G))))
    397397
     398;; Calculate F : p1^inf : p2^inf : ... : ps^inf
     399(test ideal-polysaturation-1
     400  "Ideal saturation with 1 polynomial"
     401  (let* (($poly_grobner_algorithm :buchberger)
     402         (F (cdr (string->poly "[x^3*(y+z^2),x^2*(y-z^2)]" '(x y z))))
     403         (P (string->poly "[x,z]" '(x y z)))
     404         (ring *ring-of-integers*)
     405         (order #'lex>)
     406         (ring-and-order (make-ring-and-order :ring ring :order order))
     407         (G (cdr (string->poly "[y]" '(x y z)))))
     408    (is (poly-set-equal-no-sugar-p (ideal-polysaturation-1 ring-and-order F p) G))))
     409
    398410(run! 'ngrobner-suite)
    399411(format t "All tests done!~%")
Note: See TracChangeset for help on using the changeset viewer.