-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Unnecessary "utbot_abs_error" constant added to the test #405
Comments
ladisgin
added
question
Further information is requested
and removed
bug
Something isn't working
labels
Aug 26, 2022
@alexey-utkin, we can add check that function has float in parameters or move this value to header |
We need to use |
alexey-utkin
added a commit
that referenced
this issue
Sep 5, 2022
- use `EXPECT_FLOAT_EQ` and `EXPECT_DOUBLE_EQ` instead of `EXPECT_NEAR` - remove insertion obsolete `utbot_abs_error` to the code - support comparison `NAN` and `INFINITY` consts - make inclusion of `main.c` wrapper with relative path
alexey-utkin
added a commit
that referenced
this issue
Sep 6, 2022
- remove obsolete `ABS_ERROR` - printer optimization
alexey-utkin
added a commit
that referenced
this issue
Sep 6, 2022
…431) * [BUG] Unnecessary "utbot_abs_error" constant added to the test #405 - use `EXPECT_FLOAT_EQ` and `EXPECT_DOUBLE_EQ` instead of `EXPECT_NEAR` - remove insertion obsolete `utbot_abs_error` to the code - support comparison `NAN` and `INFINITY` consts - make inclusion of `main.c` wrapper with relative path - remove obsolete `ABS_ERROR` - printer optimization
Repository owner
moved this from In Progress
to Done
in UTBot C/C++
Sep 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2022.8.233
Description
UTBot adds unused constant to the test
static const float utbot_abs_error = 1e-6;
Generate code for following function
Result is
generated constant
utbot_abs_error
is unused and seems unecessary.The text was updated successfully, but these errors were encountered: