mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 14:07:34 +02:00
Issue #510 - Added test cases
This commit is contained in:
parent
0533d3eab0
commit
46e7e193df
1 changed files with 18 additions and 0 deletions
|
@ -50,6 +50,24 @@
|
|||
(test 2.0 (denominator (/ 6 4)))
|
||||
)
|
||||
|
||||
(test-group
|
||||
"truncate"
|
||||
(test -1 (truncate -1))
|
||||
(test -1.0 (truncate -1.0))
|
||||
(test -1.0 (truncate -1.1))
|
||||
(test -1.0 (truncate -1.1))
|
||||
(test +inf.0 (truncate +inf.0))
|
||||
)
|
||||
|
||||
(test-group
|
||||
"exact"
|
||||
(test -1 (exact -1))
|
||||
(test -1 (exact -1.0))
|
||||
(test -1 (exact -1.1))
|
||||
(test -1 (exact -1.1))
|
||||
;(test +inf.0 (exact +inf.0))
|
||||
)
|
||||
|
||||
(test-group
|
||||
"records"
|
||||
(define-record-type employee
|
||||
|
|
Loading…
Add table
Reference in a new issue