random errors
parent
373ee35a0c
commit
1a52c496a8
|
@ -377,17 +377,6 @@ SYMBOL: last-quot
|
||||||
random-complex , random-complex , complex-logic-2 nth-rand ,
|
random-complex , random-complex , complex-logic-2 nth-rand ,
|
||||||
] [ ] make interp-compile-check ;
|
] [ ] make interp-compile-check ;
|
||||||
|
|
||||||
: test-integer
|
|
||||||
{
|
|
||||||
|
|
||||||
test-2integer>x test-integer>x test-2integer>x-1 } nth-rand execute ;
|
|
||||||
! quotation tests
|
|
||||||
! : test-integer random-integer-quotation interp-compile-check ;
|
|
||||||
: test-ratio random-ratio-quotation interp-compile-check ;
|
|
||||||
: test-float random-float-quotation interp-compile-check ;
|
|
||||||
: test-complex random-complex-quotation interp-compile-check ;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
: string-to-math-test ( -- )
|
: string-to-math-test ( -- )
|
||||||
[
|
[
|
||||||
|
@ -398,6 +387,11 @@ SYMBOL: last-quot
|
||||||
] [ ] make interp-compile-check ;
|
] [ ] make interp-compile-check ;
|
||||||
|
|
||||||
|
|
||||||
|
: test-float?-when
|
||||||
|
[
|
||||||
|
random-number , \ dup , \ float? , float>x nth-rand unit , \ when ,
|
||||||
|
] [ ] make interp-compile-check ;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
: stack-identity-0
|
: stack-identity-0
|
||||||
|
|
Loading…
Reference in New Issue