- Timestamp:
- 2015-06-12T11:04:52-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r1456 r1457 325 325 (is (every #'poly-equal-no-sugar-p (colon-ideal ring-and-order I J) I-colon-J)))) 326 326 327 (test poly-lcm -and-gcd328 "Polynomial LCM and GCD"327 (test poly-lcm 328 "Polynomial LCM" 329 329 (let* (($poly_grobner_algorithm :buchberger) 330 330 (f (string->poly "x^2-y^2" '(x y))) … … 333 333 (order #'lex>) 334 334 (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)))) 339 337 340 338
Note:
See TracChangeset
for help on using the changeset viewer.