[squeak-dev] Units package

Marcus Denker denker at iam.unibe.ch
Tue Jun 24 12:11:45 UTC 2008


Hello,
the bug seems to be fixed in the last version. I harvested the test to make
sure (this is
in Units-md.16 on SqueakSource)

The versions starting with -14 contain many enhancements (and the bugfix).
This was contributed
by Pinesoft (http://www.pinesoft.co.uk/).

Maybe the universe version could be updated?

      Marcus

-- 
Marcus Denker -- denker at iam.unibe.ch
http://www.iam.unibe.ch/~denker


On Thu, Jun 19, 2008 at 4:56 PM, Balázs Kósi <rebmekop at gmail.com> wrote:

> > UnitValue >> hash
> >        ^value hash bitXor: unit hash
> >
> > and
> >
> > testEquality
> >
> >        self deny: (60 units: #seconds) hash = (60 units: #meters) hash.
> >        self deny: (60 units: #seconds) = (60 units: #meters).
> >        self deny: (60 units: #seconds) hash = (1 units: #minutes) hash.
> >        self assert: (60 units: #seconds) = (1 units: #minutes).
>
> Much better :)
>
> Cheers, Balázs
>
> ps: cc-d to Marcus Denker, because he seems to be maintainer of the
> package.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080624/f3558d2d/attachment.htm


More information about the Squeak-dev mailing list