- Timestamp:
- 2015-06-18T19:25:38-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-monom.lisp
r2307 r2308 52 52 (in-suite monom-suite) 53 53 54 (def-fixture monom-context ( form)54 (def-fixture monom-context () 55 55 (let ((z (make-instance 'monom :dimension 3)) 56 56 (m (make-instance 'monom :dimension 3 :exponents '(1 2 3))) … … 59 59 (n/m (make-instance 'monom :dimension 3 :exponents '(3 3 3))) 60 60 (m-tensor-n (make-instance 'monom :exponents '(1 2 3 4 5 6)))) 61 form))61 (&body))) 62 62 63 63 (def-fixture foo (&body forms) (moo bar forms)) … … 65 65 (test monom-basics 66 66 "Monom basics" 67 ;;(is-true (print (macroexpand `(def-fixture foo (&body forms) (moo bar forms))))) 68 ;;(is-true (print (macroexpand `(with-fixture foo ((baz boo)))))) 69 (is-true (print (macroexpand '(with-fixture monom-context ((= (r-dimension m) 3)))))) 70 ) 67 (with-fixture monom-context () 68 (is-true (= (r-dimension m) 3)))) 69 71 70 72 71
Note:
See TracChangeset
for help on using the changeset viewer.