W3C home > Mailing lists > Public > public-test-infra@w3.org > April to June 2011

Re: RfC: WebApps Testing Process

From: James Graham <jgraham@opera.com>
Date: Mon, 11 Apr 2011 15:42:43 +0200
Message-ID: <4DA30553.9090205@opera.com>
To: Garrett Smith <dhtmlkitchen@gmail.com>
CC: Aryeh Gregor <Simetrical+w3c@gmail.com>, public-test-infra <public-test-infra@w3.org>
On 04/11/2011 01:32 AM, Garrett Smith wrote:
> On 4/10/11, James Graham<jgraham@opera.com>  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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:34:06 UTC