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


Ignore:
Timestamp:
2016-06-07T19:37:34-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

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

    r4325 r4406  
    6161  ;; observing the precedence defined in the INFIX package
    6262  (is (equal (infix-print-to-string '(* 3 (sin x))) "3*(SIN(X))"))
     63  (is (equal (infix-print-to-string '(+ x (- y z))) "X+Y-Z"))
     64  (is (equal (infix-print '(+ (* 3 x) (- (* 2 (expt y 2)) z))) "3*X+2*(Y^2)-Z"))
    6365  )
    6466
Note: See TracChangeset for help on using the changeset viewer.