You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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
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.
The text was updated successfully, but these errors were encountered: