toxcore/auto_tests
Coren[m] b132c92b3a
Assoc's array is now allocated dynamically and per default much smaller (320 entries).
id_hash() was not at all working as expected for very small bucket size (when (size / 4) was zero). Simplified to be trivially correct.
Also added a used flag on adding an entry, which is set by callers if they have that association in active use. Those get priority over unused entries on collision.
Fleshed out test to be at least elementary useful.
Each group chat now uses an own, small assoc (80 entries).
2013-11-17 01:05:00 +01:00
..
assoc_test.c Assoc's array is now allocated dynamically and per default much smaller (320 entries). 2013-11-17 01:05:00 +01:00
crypto_test.c Make test "endtoend" pass on 'slow' systems 2013-09-16 23:02:38 +02:00
friends_test.c Fixed building with NaCl. 2013-09-10 17:15:26 -04:00
Makefile.inc Significantly trimmed down version of an ID<=>IP cache. 2013-11-14 19:05:53 +01:00
messenger_test.c Code cleanups. 2013-10-23 14:49:59 -04:00
network_test.c Permit -Wshadow as useful warning. 2013-09-27 11:24:33 +02:00
skeleton_test.c Reduce duplicate data. Add a mostly empty skeleton test. 2013-11-06 20:32:19 +01:00