Skip to content
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

MOCK: Modify NUMERIC-type macros to operate natively with negative/float values too #47

Open
orandb opened this issue Jul 6, 2021 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@orandb
Copy link

orandb commented Jul 6, 2021

We used STAT_ADD_NUMERIC_MOCK to mock a variable that is from float type.
For some reason, we didn't get the correct value.
after a debug session, we saw that the converting from float to unsign was incorrect, and required the same method like in STAT_ADD_MOCK when the value is copied as void.

@are-scenic are-scenic changed the title STAT_ADD_NUMERIC_MOCK return wrong value Make NUMERIC-type macros operate natively with negative/float values too Jul 22, 2021
@are-scenic are-scenic changed the title Make NUMERIC-type macros operate natively with negative/float values too MOCK: Modify NUMERIC-type macros to operate natively with negative/float values too Jul 22, 2021
@are-scenic are-scenic self-assigned this Jul 22, 2021
@are-scenic are-scenic added bug Something isn't working enhancement New feature or request labels Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants