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