repo.or.cz
/
picobit
/
chj.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Tests added to the repository.
[picobit/chj.git]
/
tests
/
test-add.scm
blob
32608593fdf10bfcb9cac2df8f0b32dd4e245297
1
;; very simple sanity test for bignums
2
(define (foo x y)
3
(+ x y))
4
5
;(foo 1 3)
6
(display (if (= (foo 1 3) 4) ; TODO test with bignum-range numbers
7
"OK\n"
8
"NAH\n"))