View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004717 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2019-04-04 10:37 | 2019-04-05 14:48 |
Reporter | Mircea Suciu | Assigned To | Paul Hunkar | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Platform | Windows | OS | Windows 7 | OS Version | Proffesional |
Product Version | 1.03.340.380 | ||||
Summary | 0004717: Float variable values that cannot be represented (binary) entirely but only approximated, produce errors on assertions in tests | ||||
Description | Given a float variable value that cannot be represented (binary) entirely but only approximated ex: 96.123456 that is approximated to 96.12345886230469. The above mentioned test cases fail due to a bug in the test case/test helper methods. The initialValueOverride value is set to be equal to the aproximated value 95.12345886230469. The demonstration that this is a problem on the CTT side can be done by the attached Wireshark capture, that clearly shows that the value send to the server via WriteRequest (pckt 28) is equal to the one received in the data change notification (pckt 33), therefore the server side does not produce a loss of float value precision. | ||||
Steps To Reproduce | Write such a float value (ex: 96.123456) to a Float variable configured under the CTT's "Settings.ServerTest.NodeIds.Static.AllProfiles.Scalar" set of nodes. | ||||
Additional Information | A Wireshark capture of the situation is attached. | ||||
Tags | No tags attached. | ||||
Files Affected | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-04-04 10:37 | Mircea Suciu | New Issue | |
2019-04-05 14:48 | Paul Hunkar | Assigned To | => Paul Hunkar |
2019-04-05 14:48 | Paul Hunkar | Status | new => resolved |
2019-04-05 14:48 | Paul Hunkar | Resolution | open => duplicate |
2019-04-05 14:48 | Paul Hunkar | Status | resolved => closed |