2016-07-29 11:18:24 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<TestCase name="tst_float">
|
|
|
|
<Environment>
|
|
|
|
<QtVersion>@INSERT_QT_VERSION_HERE@</QtVersion>
|
|
|
|
<QtBuild/>
|
|
|
|
<QTestVersion>@INSERT_QT_VERSION_HERE@</QTestVersion>
|
|
|
|
</Environment>
|
|
|
|
<TestFunction name="initTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="floatComparisons">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[should SUCCEED 1]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/float/tst_float.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[should FAIL 1]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared floats are not the same (fuzzy compare)
|
|
|
|
Actual (operandLeft) : 1
|
|
|
|
Expected (operandRight): 3]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/float/tst_float.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[should FAIL 2]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared floats are not the same (fuzzy compare)
|
|
|
|
Actual (operandLeft) : 1e-07
|
|
|
|
Expected (operandRight): 3e-07]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/float/tst_float.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[should FAIL 3]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared floats are not the same (fuzzy compare)
|
|
|
|
Actual (operandLeft) : 99998
|
|
|
|
Expected (operandRight): 99999]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[should SUCCEED 2]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
2018-11-09 13:05:35 +00:00
|
|
|
<TestFunction name="float16Comparisons">
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[should SUCCEED 1]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/float/tst_float.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[should FAIL 1]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared qfloat16s are not the same (fuzzy compare)
|
|
|
|
Actual (operandLeft) : 1
|
|
|
|
Expected (operandRight): 3]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/float/tst_float.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[should FAIL 2]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared qfloat16s are not the same (fuzzy compare)
|
|
|
|
Actual (operandLeft) : 0.0001
|
|
|
|
Expected (operandRight): 0.0003]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/float/tst_float.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[should FAIL 3]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared qfloat16s are not the same (fuzzy compare)
|
|
|
|
Actual (operandLeft) : 98
|
|
|
|
Expected (operandRight): 99]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="pass" file="" line="0">
|
|
|
|
<DataTag><![CDATA[should SUCCEED 2]]></DataTag>
|
|
|
|
</Incident>
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
2016-07-29 11:18:24 +00:00
|
|
|
<TestFunction name="compareFloatTests">
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/float/tst_float.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[1e0]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared floats are not the same (fuzzy compare)
|
|
|
|
Actual (t1): 1
|
|
|
|
Expected (t3): 3]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/float/tst_float.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[1e-7]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared floats are not the same (fuzzy compare)
|
|
|
|
Actual (t1): 1e-07
|
|
|
|
Expected (t3): 3e-07]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Incident type="fail" file="qtbase/tests/auto/testlib/selftests/float/tst_float.cpp" line="0">
|
|
|
|
<DataTag><![CDATA[1e+7]]></DataTag>
|
|
|
|
<Description><![CDATA[Compared floats are not the same (fuzzy compare)
|
|
|
|
Actual (t1): 1e+07
|
|
|
|
Expected (t3): 3e+07]]></Description>
|
|
|
|
</Incident>
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
|
|
|
<TestFunction name="cleanupTestCase">
|
|
|
|
<Incident type="pass" file="" line="0" />
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestFunction>
|
|
|
|
<Duration msecs="0"/>
|
|
|
|
</TestCase>
|