W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2012

[Bug 19782] test cases using 'assert-eq' for numeric values instead of 'assert'

From: <bugzilla@jessica.w3.org>
Date: Thu, 08 Nov 2012 15:45:29 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19782-523-WR77QcEE05@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19782

O'Neil Delpratt <oneil@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #14 from O'Neil Delpratt <oneil@saxonica.com> ---
Bug fixed and committed to cvs.

(In reply to comment #13)
> - "math-acos" test set, "math-acos-003"

There is also a problem with the test case math-acos-003
Changed the expected result to the following:

<assert>abs($result - 1.5707963267948966e0) lt 1e-14</assert>

> - "op-numeric-divide" test set, "op-numeric-dividesht2args-5" -replace
> alternate results with "assert" 
> - "prod-CastExpr" test set, "CastFOCA0001-1,CastFOCA0003-1" -replace
> alternate results with "assert"

DONE

> - "prod-CastExpr" test set, "K2-SeqExprCast-17" - provide alternate result
> for <error code="FOAR0002"/>

DONE as suggested

> - "prod-TryCatchExpr" test set "try-catch-optimizations-1" - the result is a
> sequence of 2 items

My suggestion here (and I have made the change) is the following:
<assert-deep-eq>0, 1</assert-deep-eq>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 8 November 2012 15:45:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:40 UTC