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

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 31 Oct 2012 11:41:16 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-19782-523-5GuMwE9uM4@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19782

--- Comment #10 from Sorin Nasoi <spungi@gmail.com> ---
"For example, <assert-eq>12&</assert-eq> asserts that the result of the test
expression is an atomic value that compares equal to the integer 12 (which
means it might be the double value 12.0 or the float value 12.0 or the untyped
atomic value "12.0", for example)."

Means that
<assert-eq>"integer decimal float double"</assert-eq>
would not succeed when compared to ('integer', 'decimal', 'float', 'double')
and would succeed when compared to ('"', 'integer', 'decimal', 'float',
'double', '"')
right?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 31 October 2012 11:41:17 UTC

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