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 1450 for branches/f4grobner


Ignore:
Timestamp:
2015-06-12T10:57:51-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1449 r1450  
    325325    (is (every #'poly-equal-no-sugar-p (colon-ideal ring-and-order I J) I-colon-J))))
    326326
     327(test poly-lcm
     328  "Polynomial LCM"
     329  (let* (($poly_grobner_algorithm :buchberger)
     330         (I (cdr (string->poly "[x^2*y,x*y^2]" '(x y))))
     331         (J (cdr (string->poly "[x,y]" '(x y))))
     332         (ring *ring-of-integers*)
     333         (order #'lex>)
     334         (ring-and-order (make-ring-and-order :ring ring :order order))
     335         (I-colon-J (cdr (string->poly "[x*y]" '(x y)))))
     336    (is (every #'poly-equal-no-sugar-p (colon-ideal ring-and-order I J) I-colon-J))))
     337
    327338
    328339(run! 'ngrobner-suite)
Note: See TracChangeset for help on using the changeset viewer.