mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 09:17:35 +02:00
Issue #433 - Added unit tests
This commit is contained in:
parent
2fe006f22a
commit
61cc07f99e
1 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,12 @@
|
|||
(test '() (make-list -2))
|
||||
)
|
||||
|
||||
(test-group
|
||||
"rationals"
|
||||
(test 3.0 (numerator (/ 6 4)))
|
||||
(test 2.0 (denominator (/ 6 4)))
|
||||
)
|
||||
|
||||
(test-group
|
||||
"I/O"
|
||||
(define p (open-input-string "one\ntwo\n"))
|
||||
|
|
Loading…
Add table
Reference in a new issue