Re: RfC: WebApps Testing Process

On 04/11/2011 01:32 AM, Garrett Smith wrote:
> On 4/10/11, James Graham<>  wrote:
>>> And again, a test that does that is a mistake. Quite obvious.
>> How would you write a test that a structured clone correctly preserves
>> NaN values?
> If needed, I would be including to write an
> `assert_object_equivalence`. In my style, that'd be more like:

I don't see that having assert_equals and assert_object_equivalence that 
do similar, but slightly different, things is at all clearer than having 
a single method that has the useful behaviour from both. Apart from the 
NaN case how would you expect these two methods to differ?

Received on Monday, 11 April 2011 13:43:18 UTC