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


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

* empty log message *

File:
1 edited

Legend:

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

    r1458 r1459  
    336336    (is (poly-equal-no-sugar-p (poly-lcm ring-and-order f g) lcm-f-and-g))))
    337337
     338(test grobner-equal
     339  "Polynomial LCM"
     340  (let* (($poly_grobner_algorithm :buchberger)
     341         (fl (cdr (string->poly "[x,y]" '(x y))))
     342         (gl (cdr (string->poly "[x-y,x+2*y]" '(x y))))
     343         (ring *ring-of-integers*)
     344         (order #'lex>)
     345         (ring-and-order (make-ring-and-order :ring ring :order order)))
     346    (is-true (grobner-equal ring-and-order fl gl))))
     347
    338348
    339349(run! 'ngrobner-suite)
Note: See TracChangeset for help on using the changeset viewer.