[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [NSDecimalNumber numberWithDouble:x]
From: |
Adam Fedor |
Subject: |
Re: [NSDecimalNumber numberWithDouble:x] |
Date: |
Mon, 12 Jan 2004 11:06:31 -0700 |
On Monday, January 12, 2004, at 10:53 AM, David Ayers wrote:
Hmm.. we may not really need to test against the concrete classes in
the numberWith*: methods as long as we never use them internally and
as long as we don't care about code that gets the classes via
NSClassFromString and class those methods. I'd say it's an edge
case. (But I haven't tested what could go wrong.)
I think you only need to test the concrete class.
I'm pretty sure the implementations in NSNumber must test for the
*abstract* NSNumber class (and should/could arguably also test the
concrete class corresponding to the type supplied).
Oops. Sorry, that's what I meant to say (abstract, NOT concrete).
- [NSDecimalNumber numberWithDouble:x], Manuel Guesdon, 2004/01/10
- Re[2]: [NSDecimalNumber numberWithDouble:x], Manuel Guesdon, 2004/01/11
- Re: [NSDecimalNumber numberWithDouble:x], David Ayers, 2004/01/12
- Re[2]: [NSDecimalNumber numberWithDouble:x], Manuel Guesdon, 2004/01/12
- Re: [NSDecimalNumber numberWithDouble:x], David Ayers, 2004/01/12
- Re: [NSDecimalNumber numberWithDouble:x], Adam Fedor, 2004/01/12
- Re: [NSDecimalNumber numberWithDouble:x], David Ayers, 2004/01/12
- Re: [NSDecimalNumber numberWithDouble:x],
Adam Fedor <=
- Re[2]: [NSDecimalNumber numberWithDouble:x], Manuel Guesdon, 2004/01/13
- Re[3]: [NSDecimalNumber numberWithDouble:x], Manuel Guesdon, 2004/01/31