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


Ignore:
Timestamp:
2015-06-06T18:09: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

    r385 r386  
    9797(test term
    9898  "term"
    99   (let ((t1 (ngrobner:make-term (ngrobner:make-monom 3 :initial-contents '(1 2 3)) 7))
    100         (t2 (ngrobner:make-term (ngrobner:make-monom 3 :initial-contents '(1 2 3)) 9))
    101         (t3 (ngrobner:make-term (ngrobner:make-monom 3 :initial-contents '(2 4 6)) (* 7 9))))
     99  (let* ((m1 (ngrobner:make-monom 3 :initial-contents '(1 2 3)))
     100        (m2 (ngrobner:make-monom 3 :initial-contents '(1 2 3)))
     101        (m3 (ngrobner:make-monom 3 :initial-contents '(2 4 6)))
     102        (t1 (ngrobner:make-term m1 7))
     103        (t2 (ngrobner:make-term m2 9))
     104        (t3 (ngrobner:make-term m3 (* 7 9))))
    102105    (is (equalp (ngrobner::term-mul ngrobner::*ring-of-integers* t1 t2) t3))))
    103106
Note: See TracChangeset for help on using the changeset viewer.