Changeset 1183
- Timestamp:
- 2015-06-10T20:44:03-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-tests.lisp
r1175 r1183 217 217 (test division 218 218 "Division in polynomial ring" 219 (let ((f (string->poly "x^2" '(x y))) 220 (fl (string->poly "[x+y,x-2*y]" '(x y))) 221 (ring *ring-of-integers*)) 222 (is-true (print (normal-form ring f fl))))) 219 (let* ((f (string->poly "x^2" '(x y))) 220 (fl (cdr (string->poly "[x+y,x-2*y]" '(x y)))) 221 (ring *ring-of-integers*) 222 (order #'lex>) 223 (ring-and-order (make-ring-and-order :ring ring :order order))) 224 (is-true (equalp (print (poly->alist (normal-form ring-and-order f fl))) 225 '(((0 2) . 1)))))) 223 226 224 227 (run! 'ngrobner-suite)
Note:
See TracChangeset
for help on using the changeset viewer.