Added more tests for div0 and mod0.
This commit is contained in:
parent
48a86cbaa3
commit
ec69dc4a7c
|
@ -71,7 +71,18 @@
|
||||||
(test +10 -4)
|
(test +10 -4)
|
||||||
(test -10 +4)
|
(test -10 +4)
|
||||||
(test -10 -4)
|
(test -10 -4)
|
||||||
|
|
||||||
|
(test +3 +5/6)
|
||||||
|
(test -3 +5/6)
|
||||||
|
(test +3 -5/6)
|
||||||
|
(test -3 -5/6)
|
||||||
|
|
||||||
|
(test +3 +7/11)
|
||||||
|
(test -3 +7/11)
|
||||||
|
(test +3 -7/11)
|
||||||
|
(test -3 -7/11)
|
||||||
|
|
||||||
|
|
||||||
(test (least-fixnum) +1)
|
(test (least-fixnum) +1)
|
||||||
(test (least-fixnum) -1) ;; overflows
|
(test (least-fixnum) -1) ;; overflows
|
||||||
(test (greatest-fixnum) +1)
|
(test (greatest-fixnum) +1)
|
||||||
|
|
Loading…
Reference in New Issue