Hi Mike,

I don't understand.  assert:equals: should only be used for exact  
equality tests, not for comparing doubles.

Doubles should never go through this method.

Existing tests won't know about assert:equals:

Did I misunderstand you?

- on

On 7 Jul 2009, at 19:24, Michael Roberts wrote:

> If you are adding this it would be good to either add or review
> existing implementation that checks the comparison is within a
> tolerance. This would be for asserting double values are close but not
> necessarily exact. I would rather we didn't get double comparison
> going through this method you describe which would be easy to do.
>
> Thanks
> mike


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to