diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/fizzbuzz.bth | 2 | ||||
| -rw-r--r-- | tests/vars.bth | 8 | 
2 files changed, 5 insertions, 5 deletions
| diff --git a/tests/fizzbuzz.bth b/tests/fizzbuzz.bth index e70c2c1..82e80cf 100644 --- a/tests/fizzbuzz.bth +++ b/tests/fizzbuzz.bth @@ -1,7 +1,7 @@  (do    (set n 1)   (while (< n 30) -        (print  +        (puts            (if (= 0 (% n 5))               (if (= 0 (% n 3)) "fizzbuzz" "buzz")               (if (= 0 (% n 3)) "fizz" n))) diff --git a/tests/vars.bth b/tests/vars.bth index 7799acf..a524ae6 100644 --- a/tests/vars.bth +++ b/tests/vars.bth @@ -2,8 +2,8 @@  	(set a 5)  	(set b 10)  	(set thethe 1234) -	(print (+ a b)) -	(print (- thethe a)) -	(print (+ (set a 90) b)) -	(print a) +	(puts (+ a b)) +	(puts (- thethe a)) +	(puts (+ (set a 90) b)) +	(puts a)  	nil) | 
