Date: June 24, 2008 2:11:45 PM CEDT
Subject: Re: [squeak-dev] Units package
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
Maybe the universe version could be updated?
Marcus
On Thu, Jun 19, 2008 at 4:56 PM, Bal�zs K�si <
rebmekop@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.