The VW tests use something along the lines of self assert: aResult isWithin: anInteger ulpsFrom: anExpectedValue
Igor Stasenko wrote: > As a compromise, > i propose adding: > > Float>>isAlmostZero > ^ self abs < Epsilon > > > And write tests like: > > (13/10) = 1.3 > > in form: > > ((13/10) - 1.3) isAlmostZero > > -- > Best regards, > Igor Stasenko AKA sig. > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
