Re: [Pyobjc-dev] testing NSCell
Brought to you by:
ronaldoussoren
From: David E. <epp...@ic...> - 2003-02-04 19:59:52
|
On 2/4/03 2:44 PM -0500 bb...@ma... wrote: > Fixed in CVS. I forgot about that, as well. > > In any case, the comitted unit test still fails on the floatValue() test > because of representation issues.... anyone have an > 'assertApproximatelyEquals()' test? Really? It was working for me after I changed the test value from 3.14159 to 3.0 (included in my previous correction). > BTW: self.assert_ or self.assertEquals is a better test in a TestCase > than assert() in that assert() will go away with optimization. Ok, thanks. I guess assertEquals is the one to use here... -- David Eppstein UC Irvine Dept. of Information & Computer Science epp...@ic... http://www.ics.uci.edu/~eppstein/ |