8 Commits

Author SHA1 Message Date
Bailey Thompson
a270dc1a1d Add windows and macOS tests (#148)
Update the github actions workflow to v3 and add windows and macOS tests.
2022-04-29 23:36:25 -04:00
Bailey Thompson
cc17f4c6d0 Do nothing when freeing NULL (#141) 2020-10-02 19:22:31 -04:00
Bailey Thompson
b7cd535c6c Add "overflow" checking (#115)
Add checking and correction for unsigned integer wrapping.
2020-08-18 01:49:11 -04:00
Bailey Thompson
e3bc87298f Simplify return values (#114)
Introduce bk_err and bk_bool rather than using int for both of these.
This means that the function definition now specifies whether 0 means
no error, or whether it means false.
2020-08-17 16:55:29 -04:00
Bailey Thompson
eade6e4586 Bug bash (#105)
Valgrind previously did not fail the test suite when there were memory
leaks or invalid accesses. Due to this, a few bugs slipped in. These bugs
have been fixed, and now every container has more test cases.
Furthermore, the test suite has been updated to fail if Valgrind reports
any errors.
2020-08-16 19:17:59 -04:00
Bailey Thompson
8aa141785d Fix coverage (#95) 2020-08-14 01:53:35 -04:00
Bailey Thompson
115433497a Reduce calls to malloc in unordered_multiset (#93)
Reduce the number of malloc calls in
unordered_multiset. Improves efficiency by 40%.
2020-08-13 23:51:33 -04:00
Bailey Thompson
33fe92dade Use GitHub actions as test suite (#91)
Use GitHub actions as a test suite. Can get rid of CircleCI,
and now Valgrind is part of the test suite.
2020-08-12 19:06:49 -04:00