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


Ignore:
Timestamp:
2015-06-12T11:04:52-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1456 r1457  
    325325    (is (every #'poly-equal-no-sugar-p (colon-ideal ring-and-order I J) I-colon-J))))
    326326
    327 (test poly-lcm-and-gcd
    328   "Polynomial LCM and GCD"
     327(test poly-lcm
     328  "Polynomial LCM"
    329329  (let* (($poly_grobner_algorithm :buchberger)
    330330         (f (string->poly "x^2-y^2" '(x y)))
     
    333333         (order #'lex>)
    334334         (ring-and-order (make-ring-and-order :ring ring :order order))
    335          (lcm-f-and-g (string->poly "(x+y)^2*(x-y)" '(x y)))
    336          (gcd-f-and-g (string->poly "x+y" '(x y))))
    337     (is (poly-equal-no-sugar-p (poly-lcm ring-and-order f g) lcm-f-and-g))
    338     (is (poly-equal-no-sugar-p (poly-gcd ring-and-order f g) gcd-f-and-g))))
     335         (lcm-f-and-g (string->poly "(x+y)^2*(x-y)" '(x y))))
     336    (is (poly-equal-no-sugar-p (poly-lcm ring-and-order f g) lcm-f-and-g))))
    339337
    340338
Note: See TracChangeset for help on using the changeset viewer.