Add tests for `git__multiply_int64_overflow`
As it turns out, the implementation of `git__multiply_int64_overflow` is full of edge cases and tricky arithmetic. That means that it should have unit tests. As a result, a bug in `git__strntol64` was found (and fixed!) in clang+32-bit.
Showing
tests/core/integer.c
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment