Skip to content

Commit 3a5eb03

Browse files
author
Robert Marsh
committed
C++: change floating point value in test
1 parent e0af30a commit 3a5eb03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cpp/ql/test/library-tests/valuenumbering/HashCons/HashCons.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
| test.cpp:115:13:115:15 | 0.0 | 115:c13-c15 116:c7-c9 |
5353
| test.cpp:115:13:115:15 | (float)... | 115:c13-c15 116:c7-c9 |
5454
| test.cpp:116:3:116:3 | y | 116:c3-c3 117:c3-c3 118:c3-c3 |
55-
| test.cpp:117:7:117:9 | 0.10000000000000001 | 117:c7-c9 118:c7-c9 |
55+
| test.cpp:117:7:117:9 | 0.5 | 117:c7-c9 118:c7-c9 |
5656
| test.cpp:117:7:117:9 | (float)... | 117:c7-c9 118:c7-c9 |
5757
| test.cpp:122:3:122:8 | call to test07 | 122:c3-c8 123:c3-c8 |
5858
| test.cpp:125:3:125:11 | call to my_strspn | 125:c3-c11 126:c3-c11 |

cpp/ql/test/library-tests/valuenumbering/HashCons/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ void test07() {
114114

115115
float y = 0.0;
116116
y = 0.0;
117-
y = 0.1;
118-
y = 0.1;
117+
y = 0.5;
118+
y = 0.5;
119119
}
120120

121121
void test08() {

0 commit comments

Comments
 (0)