gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz] Re: [Gzz-commits] gzz/lava gzz/loom/WheelView.java test/gzz/loom/.


From: Benja Fallenstein
Subject: [Gzz] Re: [Gzz-commits] gzz/lava gzz/loom/WheelView.java test/gzz/loom/...
Date: Wed, 26 Feb 2003 21:39:44 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9


Hi Asko!

Asko Soukka wrote:
Log message:
        WheelView...

Cool, that was quick :)

      and wondering, what the test really tests :)

I think it should test that

- the distances from the focus to the other nodes are equal (modulo rounding errors);
- that the angles between the nodes are equal.

In addition, you should copy the tests from SimpleView that check whether the correct nodes are placed into the correct coordinate systems, and whether the correct ``dir`` parameters are passed. If you check all this, I think you can say with some confidence that the view works.

Remember that not doing those tests is a license to break your code, as Tuomas continues to point out ;-)

Thanks for doing the wheel, it's really cool how things are starting to come together. I need to do that TODO.

- Benja





reply via email to

[Prev in Thread] Current Thread [Next in Thread]