Re: RfC: WebApps Testing Process

On 4/10/11, James Graham <jgraham@opera.com> wrote:

[...]
>> Just delete it.
>
> Just delete what?
>
The code that handles the NaN case inside of assert_equals.

[...]

>> 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:

TestRunner.assert( objectsAreEquivalent(actual, expected) );
-- 
Garrett

Received on Sunday, 10 April 2011 23:32:39 UTC