we should harvest the Units....latest version
Begin forwarded message:
From: "Marcus Denker" <denker@iam.unibe.ch> Date: June 24, 2008 2:11:45 PM CEDT To: "Balázs Kósi" <rebmekop@gmail.com> Cc: The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org
Subject: Re: [squeak-dev] Units package Reply-To: The general-purpose Squeak developers list <squeak-dev@lists.squeakfoundation.org
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@iam.unibe.ch http://www.iam.unibe.ch/~denker
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.