Re: [Pyobjc-dev] testing NSCell
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2003-02-04 19:44:20
|
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? BTW: self.assert_ or self.assertEquals is a better test in a TestCase than assert() in that assert() will go away with optimization. b.bum On Tuesday, Feb 4, 2003, at 14:25 US/Eastern, David Eppstein wrote: > Sorry, a couple of the tests failed due to me not reading the NSCell > docs sufficiently carefully -- specifically the part about needing to > become a text-type cell before setIntValue_ and setFloatValue_ will > work. Here's a corrected version. Now all tests still fail, but in > the same place: the objc accessors work, but the pythonic coercions > don't. |