we should harvest the Units....latest version
Begin forwarded message:
From: "Marcus Denker" <[EMAIL PROTECTED]>
Date: June 24, 2008 2:11:45 PM CEDT
To: "Balázs Kósi" <[EMAIL PROTECTED]>
Cc: The general-purpose Squeak developers list <[EMAIL PROTECTED]
>
Subject: Re: [squeak-dev] Units package
Reply-To: The general-purpose Squeak developers list <[EMAIL PROTECTED]
>
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 -- [EMAIL PROTECTED]
http://www.iam.unibe.ch/~denker
On Thu, Jun 19, 2008 at 4:56 PM, Balázs Kósi <[EMAIL PROTECTED]>
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.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project