-
Deomid Ryabkov authored
E.g. if `ASSERT_EQ(myfunc(), 123)` fails, `myfunc()` would be invoked again to print the actual value. This can cause confusion sometimes. To avoid this, we cast arguments to double, which is wide enough for most cases and we provide a variant for 64 bit value types for when it's not. We also perform a check and fail if argument to the check results in loss of precision. CL: none PUBLISHED_FROM=a14551289d92e8a5dead21d16471ebddebe938a8
a3c4a48e
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
platforms | ||
cs_dbg.c | ||
cs_dbg.h | ||
cs_md5.c | ||
cs_md5.h | ||
cs_time.c | ||
cs_time.h | ||
mg_mem.h | ||
platform.h | ||
test_util.c | ||
test_util.h |