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.

Ignore:
Timestamp:
2016-06-07T09:24:32-07:00 (8 years ago)
Author:
Marek Rychlik
Message:
 
File:
1 edited

Legend:

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

    r4325 r4387  
    102102    (&body)))
    103103   
     104#+nil
     105(test buchberger-advanced-preliminary
     106  (with-fixture buchberger-advanced-context ()
     107    (print (poly->string (elt gb 0)))
     108    (print (poly->string (elt gb 6)))))
     109   
     110
     111#+nil
     112(test buchberger-advanced-partial
     113  (with-fixture buchberger-advanced-context ()
     114    (loop
     115       for i from 0 below (length gb)
     116       do
     117         (loop
     118            for j from (1+ i) below (length gb)
     119            do
     120              (is (universal-zerop (second (multiple-value-list (poly-pseudo-divide (s-polynomial (elt gb i) (elt gb j)) gb))))
     121                  "Failed with I=~S, J=~S~%" I J)))))
     122
     123#-nil
    104124(test buchberger-advanced
    105125  "Buchberger algorithm - advanced case"
    106126  (with-fixture buchberger-advanced-context ()
    107     (is-true (grobner-test gb fl))
    108     ;;(is (every #'universal-equalp (buchberger fl) gb))
     127    ;;(is-true (grobner-test gb fl))
     128    (is (every #'universal-equalp (buchberger fl) gb))
    109129    ;;(is (every #'universal-equalp (parallel-buchberger fl) gb))
    110130    ))
Note: See TracChangeset for help on using the changeset viewer.