- From: Garrett Smith <dhtmlkitchen@gmail.com>
- Date: Sun, 10 Apr 2011 16:32:11 -0700
- To: James Graham <jgraham@opera.com>
- Cc: Aryeh Gregor <Simetrical+w3c@gmail.com>, public-test-infra <public-test-infra@w3.org>
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