summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_float.tap
blob: fae2dc9796418bd9d8833969b67c85e81f8e9d27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
TAP version 13
# tst_float
ok 1 - initTestCase()
ok 2 - floatComparisons(should SUCCEED 1)
not ok 3 - floatComparisons(should FAIL 1)
  ---
  type: QCOMPARE
  message: Compared floats are not the same (fuzzy compare)
  wanted: 3 (operandRight)
  found: 1 (operandLeft)
  expected: 3 (operandRight)
  actual: 1 (operandLeft)
  at: tst_float::floatComparisons() (qtbase/tests/auto/testlib/selftests/float/tst_float.cpp:48)
  file: qtbase/tests/auto/testlib/selftests/float/tst_float.cpp
  line: 48
  ...
not ok 4 - floatComparisons(should FAIL 2)
  ---
  type: QCOMPARE
  message: Compared floats are not the same (fuzzy compare)
  wanted: 3e-07 (operandRight)
  found: 1e-07 (operandLeft)
  expected: 3e-07 (operandRight)
  actual: 1e-07 (operandLeft)
  at: tst_float::floatComparisons() (qtbase/tests/auto/testlib/selftests/float/tst_float.cpp:48)
  file: qtbase/tests/auto/testlib/selftests/float/tst_float.cpp
  line: 48
  ...
not ok 5 - floatComparisons(should FAIL 3)
  ---
  type: QCOMPARE
  message: Compared floats are not the same (fuzzy compare)
  wanted: 99999 (operandRight)
  found: 99998 (operandLeft)
  expected: 99999 (operandRight)
  actual: 99998 (operandLeft)
  at: tst_float::floatComparisons() (qtbase/tests/auto/testlib/selftests/float/tst_float.cpp:48)
  file: qtbase/tests/auto/testlib/selftests/float/tst_float.cpp
  line: 48
  ...
ok 6 - floatComparisons(should SUCCEED 2)
not ok 7 - compareFloatTests(1e0)
  ---
  type: QCOMPARE
  message: Compared floats are not the same (fuzzy compare)
  wanted: 3 (t3)
  found: 1 (t1)
  expected: 3 (t3)
  actual: 1 (t1)
  at: tst_float::compareFloatTests() (qtbase/tests/auto/testlib/selftests/float/tst_float.cpp:96)
  file: qtbase/tests/auto/testlib/selftests/float/tst_float.cpp
  line: 96
  ...
not ok 8 - compareFloatTests(1e-7)
  ---
  type: QCOMPARE
  message: Compared floats are not the same (fuzzy compare)
  wanted: 3e-07 (t3)
  found: 1e-07 (t1)
  expected: 3e-07 (t3)
  actual: 1e-07 (t1)
  at: tst_float::compareFloatTests() (qtbase/tests/auto/testlib/selftests/float/tst_float.cpp:96)
  file: qtbase/tests/auto/testlib/selftests/float/tst_float.cpp
  line: 96
  ...
not ok 9 - compareFloatTests(1e+7)
  ---
  type: QCOMPARE
  message: Compared floats are not the same (fuzzy compare)
  wanted: 3e+07 (t3)
  found: 1e+07 (t1)
  expected: 3e+07 (t3)
  actual: 1e+07 (t1)
  at: tst_float::compareFloatTests() (qtbase/tests/auto/testlib/selftests/float/tst_float.cpp:96)
  file: qtbase/tests/auto/testlib/selftests/float/tst_float.cpp
  line: 96
  ...
ok 10 - cleanupTestCase()
1..10
# tests 10
# pass 4
# fail 6