Commit Graph

8 Commits

Author SHA1 Message Date
0c6f39c956
Added a README 2025-09-28 17:51:10 +05:30
285c736b6c
Added a simple example file 2025-09-28 13:18:10 +05:30
1bd017adfc
setup and teadown
added macros to run function at the start and end of each test

- SETUP     = runs once at the start
- TEARDOWN  = runs once at the end
- BEFORE    = runs before each test
- AFTER     = runs after each test
2025-09-28 13:16:15 +05:30
238db54668
allow the users to set the MAX_TEST_FUNCS value 2025-09-28 12:37:41 +05:30
c1c3e87444
block -> va_args
having them as blocks causes issues when a struct with values is initialized
inside the block, because the compiler treats the comma in the struct
defenition as seperate arguments.
2025-09-28 12:34:05 +05:30
25b0e92ed0
Basic test frameword
- macro to init the test unit
- macro to crate a test
- macro to add assertion stmts
2025-09-28 12:16:04 +05:30
df6988abc3
Added gitignore 2025-09-28 12:15:56 +05:30
235df4a648
Empty Commit 2025-09-28 12:05:40 +05:30