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


Ignore:
Timestamp:
2015-06-21T10:14:04-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2841 r2842  
    146146
    147147
     148(test monom/term-conversion
     149  "Monom/term conversion"
     150  (symbol-macrolet
     151      ((term (make-instance 'term :exponents '(1 2 3) :coeff 4))
     152       (monom (make-instance 'term :exponents '(1 2 3)))
     153       (promoted-monom  (make-instance 'term :exponents '(1 2 3) :coeff 1)))
     154    (is-equal (change-class term 'monom) monom)
     155    (is-equal (change-class monom 'term) promoted-monom)))
     156
     157
    148158;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    149159;;
Note: See TracChangeset for help on using the changeset viewer.