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 1425


Ignore:
Timestamp:
2015-06-12T00:58:58-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r1424 r1425  
    314314    (is (equalp (print (elimination-ideal ring-and-order fl 2)) nil))))
    315315
     316(test colon-ideal
     317  "colon-ideal"
     318  (let* (($poly_grobner_algorithm :buchberger)
     319         (I (cdr (string->poly "[x^2*y,x*y^2]" '(x y))))
     320         (J (cdr (string->poly "[x,y]" '(x y))))
     321         (ring *ring-of-integers*)
     322         (order #'lex>)
     323         (ring-and-order (make-ring-and-order :ring ring :order order))
     324         (elim-1-fl (cdr (string->poly "[y]" '(x y)))))
     325    (is (equalp (elimination-ideal ring-and-order fl 1) elim-1-fl))
     326    (is (equalp (print (elimination-ideal ring-and-order fl 2)) nil))))
     327
    316328(run! 'ngrobner-suite)
    317329(format t "All tests done!~%")
Note: See TracChangeset for help on using the changeset viewer.