54 Commits
Author SHA1 Message Date
Leonardo 2ca2210a77 Added CMC prefix to all macros and removed FMOD 2019-09-16 14:45:24 -03:00
Leonardo 0df0ebbdeb Update TODO, quick fixes in a makefile and in assert.h 2019-09-14 00:38:13 -03:00
Leonardo 1928fdd6d5 Reworked assert.h and test.h and added the cmc prefix to the logging utility
Integrated the assert utility with the test utility. Now any assertion that fails inside the unit test will trigger failure and is no longer needed to manually pass or fail a test.
Also reworked makefiles.
2019-09-06 12:17:11 -03:00
Leonardo e95379bdd7 Updated tests 2019-09-03 17:07:34 -03:00
Leonardo e68b8a8e0e Fixing main unit test 2019-08-27 01:38:34 -03:00
Leonardo 8ec768d30e removed linkedqueue and now _free and _clear have a deallocator parameter 2019-08-27 01:33:58 -03:00
Leonardo 976965bcfa Fixed integer overflow with hashtables when calculating their capacity 2019-08-02 00:18:22 -03:00
Leonardo 1254e657c5 Complete remake of multiset 2019-08-01 23:52:50 -03:00
Leonardo 407141661a Fixing test 2019-07-16 23:58:02 -03:00
Leonardo 8ae83acd1a Update stack unit test 2019-07-13 00:17:31 -03:00
Leonardo 9eb8d5f682 Fixing tests and added linkedqueue tests 2019-07-10 17:26:31 -03:00
Leonardo 354cd538f8 Added cmc prefixes to enums used by heap and hashtables and fixed return type on treeset and hashset 2019-07-10 16:57:46 -03:00
Leonardo 0c883b0a74 Multimap tests 2019-07-09 23:51:01 -03:00
Leonardo 97d50bc3d9 Fixing and adding more tests 2019-07-04 15:34:25 -03:00
Leonardo 846d0bbba6 More tests 2019-07-04 02:18:05 -03:00
Leonardo 9bff706bba test quickfix 2019-07-02 01:49:19 -03:00
Leonardo 6a2cb70fb5 Tests update 2019-07-02 01:05:16 -03:00
Leonardo f454934b07 Reorganizing tests 2019-07-01 17:10:28 -03:00
Leonardo 7b349ea426 Many minor fixes, changes and first attempt of codecov
Changes on assert.h, foreach.h, test.h and timer.h
Updated benchmarks, examples and tests
Updated tests/Makefile for future
Added list.c test
Added CMC namespace to CONCATC and CONCATH on macro_collections.h
2019-06-28 00:52:23 -03:00
Leonardo 8010cce8c7 Restructuring project
View CHANGELOG on v1.5.0 for more information
2019-06-21 16:07:03 -03:00
Leonardo aac07a645c Now collections accept plain struct
Also fixed impl prefixes and function modifiers
Added new test for all possible data types
Fixed some READMEs
2019-06-07 01:44:15 -03:00
Leonardo 0f84d65656 Removed PUBLIC and PRIVATE, corrected some examples and new test 2019-05-30 21:23:37 -03:00
Leonardo 3ec32bd57b changed pointertype test to be a pointer to a struct not a char 2019-05-16 14:25:28 -03:00
Leonardo 5f39eb011c Final update - fixed foreach, tests and benchmark 2019-05-16 13:41:35 -03:00
Leonardo c61ac2e347 Changed iter_new to inter_init and added new iter_new that allocates the iterator on the heap 2019-05-08 11:47:00 -03:00
Leonardo d89972c621 Fixing hashset and hashmap error with a pointer data type and adding a test to address that 2019-05-04 00:06:27 -03:00
Leonardo 763ea5dbd5 v1.2.0 2019-04-14 23:22:48 -03:00
Leonardo fe57443433 Added contains test and benchmark and updated example and tests 2019-04-14 20:29:48 -03:00
Leonardo 8625a6a411 Revamped benchmarks and sorted alphabetically foreach tests 2019-04-12 00:42:01 -03:00
Leonardo 032d34a6bd Revamped iterator test and added examples 2019-04-11 14:45:23 -03:00
Leonardo 5ec77e6269 Added clear functions 2019-04-04 12:53:34 -03:00
Leonardo afbe57c32e Fixing memory leaks in foreach test 2019-04-03 22:59:34 -03:00
Leonardo eb16205224 Added hashmap 2019-04-03 00:11:19 -03:00
Leonardo fea18d128d Fixing grammar errors 2019-04-02 23:23:37 -03:00
Leonardo f4440d6833 Removed unused K parameters from macros that are not associative containers 2019-04-01 12:17:43 -03:00
Leonardo 904cc5b69b Added hashset 2019-04-01 02:08:51 -03:00
Leonardo 524bc30b69 Changed for_each var to value 2019-03-29 20:35:35 -03:00
Leonardo 5927ab980b New for_each_map and tests 2019-03-28 22:17:48 -03:00
Leonardo 92d45d70a9 Removed unused K parameter from for_each macro 2019-03-27 17:10:44 -03:00
Leonardo 8e3f2c45fa Changed container_generate to collection_generate macro 2019-03-27 14:29:01 -03:00
Leonardo c2103b1397 Added treeset 2019-03-27 13:48:22 -03:00
Leonardo feb6dd985d Fixing iterator tests 2019-03-27 13:47:35 -03:00
Leonardo 40eeb23db3 Heap for_each test 2019-03-26 18:39:30 -03:00
Leonardo 9438cd066d Moving examples to a single folder 2019-03-26 00:54:45 -03:00
Leonardo 394b10307d Added Heap 2019-03-25 00:50:15 -03:00
Leonardo 9e8b7aa269 Iterator fixes and tests 2019-03-24 15:40:16 -03:00
Leonardo af89885886 Deque iterator 2019-03-24 15:39:14 -03:00
Leonardo d603f3cc81 Queue iterator 2019-03-24 15:31:01 -03:00
Leonardo 533366348d Stack iterator 2019-03-22 23:03:02 -03:00
Leonardo 21c4fd836d List iterator 2019-03-22 22:13:37 -03:00