We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have to make sure the results are consistent and
re-enable the test
See also https://github\.com/arturo\-lang/arturo/issues/1667
limit: 100000000
loop permutate.repeated.by:3 numericTypes 'numericType [
middle: to numericType\[1] (random neg limit limit)
start: to numericType\[0] (random neg limit (dec middle))
end: to numericType\[2] (random (inc middle) limit)
impreciseOperation: or? ; skips floating-rational and rational-rational
and? (some? candidates => rational?) (some? candidates => floating?)
(every? candidates => rational?)
-> continue
]
arturo/tests/unitt/lib/comparison/between.test.art
Line 44 in 1c6cee8
suite "Test numeric-like values" [ ; TODO(lib\comparison\between) Test seems to be failing randomly ; We have to make sure the results are consistent and ; re-enable the test ; See also https://github.com/arturo-lang/arturo/issues/1667 ; labels: unit-test, bug ; test.prop "start < middle < end, for deterministic operations" [ ; limit: 100000000 ; loop permutate.repeated.by:3 numericTypes 'numericType [ ; middle: to numericType\[1] (random neg limit limit) ; start: to numericType\[0] (random neg limit (dec middle)) ; end: to numericType\[2] (random (inc middle) limit) ; candidates: @[middle start end] ; impreciseOperation: or? ; skips floating-rational and rational-rational ; and? (some? candidates => rational?) (some? candidates => floating?) ; (every? candidates => rational?) ; if impreciseOperation ; -> continue ; assert -> between? middle start end ; ] ; ] test "start < middle < end, for :rational and :floating" [ assert -> between? 3:2 1:1 2:1 ; :rational :rational :rational
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have to make sure the results are consistent and
re-enable the test
See also https://github\.com/arturo\-lang/arturo/issues/1667
limit: 100000000
loop permutate.repeated.by:3 numericTypes 'numericType [
middle: to numericType\[1] (random neg limit limit)
start: to numericType\[0] (random neg limit (dec middle))
end: to numericType\[2] (random (inc middle) limit)
impreciseOperation: or? ; skips floating-rational and rational-rational
and? (some? candidates => rational?) (some? candidates => floating?)
(every? candidates => rational?)
-> continue
]
]
arturo/tests/unitt/lib/comparison/between.test.art
Line 44 in 1c6cee8
The text was updated successfully, but these errors were encountered: