Leonardo
4402a70415
Updating treeset iterator API
2020-05-18 19:17:57 -03:00
Leonardo
2a919483e0
Updating treemap iterator API
2020-05-18 15:46:03 -03:00
Leonardo
14251ea378
Added more bitset functions
2020-05-16 08:17:52 -03:00
Leonardo
1380d131ea
Added bitset flip and flip_range
2020-05-14 16:10:04 -03:00
Leonardo
13e3f6047b
Minor fixes
2020-05-12 16:04:40 -03:00
Leonardo
51d7a58424
Updating stack iterators
2020-05-12 16:02:42 -03:00
Leonardo
360e08b6b3
Updating sortedlist iterators
2020-05-12 13:53:28 -03:00
Leonardo
7fa41df65a
Updating queue iterators API
2020-05-11 16:46:58 -03:00
Leonardo
66c829701d
Updated list iterator API
2020-05-10 21:58:10 -03:00
Leonardo
9cd3bf3b31
Removed unused it_start and it_end
2020-05-10 21:52:27 -03:00
Leonardo
8fc432b76c
Updating linkedlist iterator
2020-05-09 09:16:51 -03:00
Leonardo
2f59d5fcaf
Updatating intervalheap iterator and other smaller things
2020-05-09 07:58:03 -03:00
Leonardo
3bb7f241f2
Added missing HeapIter test to the main unit test suit
2020-05-08 20:59:50 -03:00
Leonardo
9f596f7974
Updating heap API and fixing some things
2020-05-08 20:56:01 -03:00
Leonardo
bf3535970e
Added the possibility of running tests from each collection separately
...
Also added CMC_BITSET_WORD_TYPE so that the type of the bitset buffer can be defined with the -D flag
2020-05-07 22:19:09 -03:00
Leonardo
303e3b57b8
Updating hashset iterator API
2020-05-07 00:10:41 -03:00
Leonardo
2cacbc5348
Updating hashmultiset iterator API
2020-05-06 20:43:59 -03:00
Leonardo
fdfb81d08c
Updating hashmultimap iterator API
2020-05-06 14:55:44 -03:00
Leonardo
254bb3eacc
Renamed multiset to hashmultiset
2020-05-05 18:13:17 -03:00
Leonardo
c41ce371d3
Renamed multimap to hashmultimap
2020-05-05 18:00:56 -03:00
Leonardo
b35281b8dc
Renaming bidimap to hashbidimap
2020-05-04 23:02:57 -03:00
Leonardo
c58f3df50a
More added to bitset
2020-05-04 18:19:18 -03:00
Leonardo
7ad2462254
Adding bitset checkpoint
2020-05-01 15:52:37 -03:00
Leonardo
0702b7f51b
Update hashmap tests and its iterator API
2020-04-29 22:40:07 -03:00
Leonardo
9ade952392
Fixing hashtables and added hashmap init and release
2020-04-29 20:08:42 -03:00
Leonardo
5d68dcc538
Fixing imports in tests
2020-04-29 00:39:20 -03:00
Leonardo
3c0ce0a623
Update deque tests and its iterator API
2020-04-28 22:52:01 -03:00
Leonardo
27ac934ab6
Added new functions to deque and changed iterator functions
...
New functions: init, init_custom, release
Added DequeIter unit tests
2020-04-27 20:19:47 -03:00
Leonardo Vencovsky
3d9abc66a7
Formatting some files
2020-04-23 00:03:57 -03:00
Leonardo Vencovsky
af5abff115
Adding more deque tests and valgrind option to tests makefile
...
Also added a nice header for the main unit test
2020-04-23 00:03:17 -03:00
Leonardo Vencovsky
64201cb630
Fixing memory leaks and indexes out of bounds
2020-04-22 18:38:05 -03:00
Leonardo
fe78937150
Replaced unnecessary node struct from intervalheap to a buffer of array[2]
2020-04-22 11:51:05 -03:00
Leonardo
5af021ec0a
Fixing some things with intervalheap and added more tests
2020-04-22 10:08:06 -03:00
Leonardo
2e48a033a0
Refactoring: renaming 'element' to 'value'
2020-04-21 01:38:26 -03:00
Leonardo
980fb6d432
Fixing test.h, fixing warnings and deque tests
2020-04-20 01:15:51 -03:00
Leonardo
181a8999a7
Update deque tests
2020-04-19 13:08:38 -03:00
Leonardo
656c0e3b3a
Added cmc_assert_total, cmc_assert_failed, better-looking unit test and other things
...
Started using functions from futils.h in unit test
Renamed unit tests
2020-04-17 16:29:52 -03:00
Leonardo
277139656e
Fixing missing flag for treemap and treeset
2020-04-16 20:29:49 -03:00
Leonardo
eb13fcad01
Simplified name for functions table ftab_key to fkey and ftab_val to fval
2020-04-14 23:18:56 -03:00
Leonardo
5e13c7ba91
Update travis and fixing tests
2020-04-13 13:10:04 -03:00
Leonardo
7701364f13
Merging tests codecov with main
2020-04-13 12:13:41 -03:00
Leonardo
1dd0f25ff8
Added script that automatically generates code for code coverage
2020-04-12 21:11:37 -03:00
Leonardo
8e73cde6ae
Fast-forward codecov
2020-04-11 14:14:34 -03:00
Leonardo
67590790c4
Documentation for foreach.h, test.h, timer.h and other changes
...
Change in timer.h. Now cmc_timer_stop will calculate the result so goodbye cmc_timer_calc
2020-04-10 22:21:47 -03:00
Leonardo
56326b2dd9
Updating tests for bidimap
2020-04-08 19:35:34 -03:00
Leonardo
4c16cae56d
Added callbacks to treemap and treeset
2020-03-31 15:41:27 -03:00
Leonardo
ee1174d1b5
Added flags to queue, sortedlist and stack
2020-03-29 19:13:39 -03:00
Leonardo
0d665c46d0
Updating tests
2020-03-29 17:44:33 -03:00
Leonardo
2c732dbadf
Added callbacks to multimap and multiset, removed enabled flag and more
...
The enabled flag from the previous commit was removed because it seemed pointless
PFX##_customize functions were changed, now callbacks can be NULL but not allloc_node
Added more code to callback test
Added some missing functions and changed some others
Added more TODO comments of missing code checks or possible improvements
Added more callback guards for set functions
2020-03-28 17:54:31 -03:00
Leonardo
fcb8f3a005
Added enabled flag to cmc_callbacks
2020-03-21 23:39:51 -03:00