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 2303


Ignore:
Timestamp:
2015-06-18T17:24: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

    r2302 r2303  
    5252(in-suite monom-suite)
    5353
    54 (def-fixture monom-context (&body body)
    55     `(let ((z (make-instance 'monom  :dimension 3))
    56         (m (make-instance 'monom  :dimension 3 :exponents '(1 2 3)))
    57         (n (make-instance 'monom  :dimension 3 :exponents '(4 5 6)))
    58         (m*n (make-instance 'monom  :dimension 3 :exponents '(5 7 9)))
    59         (n/m (make-instance 'monom  :dimension 3 :exponents '(3 3 3)))
    60         (m-tensor-n (make-instance 'monom  :exponents '(1 2 3 4 5 6))))
    61        ,@body))
     54(def-fixture monom-context (&rest body)
     55  `(let ((z (make-instance 'monom  :dimension 3))
     56         (m (make-instance 'monom  :dimension 3 :exponents '(1 2 3)))
     57         (n (make-instance 'monom  :dimension 3 :exponents '(4 5 6)))
     58         (m*n (make-instance 'monom  :dimension 3 :exponents '(5 7 9)))
     59         (n/m (make-instance 'monom  :dimension 3 :exponents '(3 3 3)))
     60         (m-tensor-n (make-instance 'monom  :exponents '(1 2 3 4 5 6))))
     61     ,@body))
    6262
    6363(test monom-basics
     
    6666    (is (= (r-dimension m) 3))))
    6767
     68#|
    6869(test monom
    6970  "monom"
     
    9394        (error "Index out of bounds")
    9495      (r-depends-p m 3))))
     96|#
    9597
    9698 
Note: See TracChangeset for help on using the changeset viewer.