[squeak-dev] Roassal3 tests: (BoxedFloat64 infinity) >= 1 -> false

gettimothy gettimothy at zoho.com
Thu Oct 22 14:51:20 UTC 2020


Hi folks,



Version: Squeak6.0alphaUpdate: 20010




Working through the Roassal3 tests  

in RSAbstractAnimation>>loops: aNumber

self assert: aNumber >= 1 description: 'The number of times to repeat this animation'.    <----test fails here.

loops := aNumber



aNumber is Infinity (inspecting displays a Boxed Float)



Poking around a bit...



(BoxedFloat64 infinity) >= 1  -> false




then....



(BoxedFloat64 infinity) < 1 ->true




Is this expected?



If so, suggestions on how  I should I make the test reflect reality?


thx in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201022/eb2b095f/attachment.html>


More information about the Squeak-dev mailing list