My function has passed unit test, but it writes wrong results sometimes.
Jiaxin Zhang
60
Reputation points
My function has passed unit test, but it writes wrong results sometimes. What’s wrong?
When I test the function, the actual result is equal to expected result. But it writes a different result in the release version of my project.
Strange!
Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Sign in to answer