Files
C-Macro-Collections/tests
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
..
2019-09-03 17:07:34 -03:00
2019-09-03 17:07:34 -03:00
2019-09-03 17:07:34 -03:00
2019-09-03 17:07:34 -03:00
2019-07-01 17:10:28 -03:00
2019-09-03 17:07:34 -03:00

Tests

  • main - Unit tests for the main C Macro Collections library with code coverage;
  • sep/main.c, sep/sep.c and sep/sep.h - Tests separate header and source compilation;
  • contains.c - Tests the contains function for all collections;
  • foreach.c - Tests the ForEach macros for all collections;
  • iterators.c - Tests all collection's iterators;
  • types.c - Tests if all containers accept all possible C data types (struct, union, enum, pointers, function pointers)