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


Ignore:
Timestamp:
2015-06-12T11:30:35-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1459 r1460  
    336336    (is (poly-equal-no-sugar-p (poly-lcm ring-and-order f g) lcm-f-and-g))))
    337337
     338(test grobner-member
     339  "Polynomial LCM"
     340  (let* (($poly_grobner_algorithm :buchberger)
     341         (f (string->poly "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-member ring-and-order f gl))))
     347
    338348(test grobner-equal
    339349  "Polynomial LCM"
     
    344354         (order #'lex>)
    345355         (ring-and-order (make-ring-and-order :ring ring :order order)))
    346     (is-true (grobner-equal ring-and-order fl gl))))
     356    (is-true (grobner-subsetp ring-and-order fl gl))))
    347357
    348358
Note: See TracChangeset for help on using the changeset viewer.