summaryrefslogtreecommitdiffstats
path: root/src/test/test-macro.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* test-macro: add ROUND_UP() macro for rounding up to next multipleLennart Poettering2023-06-021-0/+66
* test/test-macro: add tests for FOREACH_VA_ARGS()Dan Streetman2023-03-091-0/+184
* macro: introduce FOREACH_ARRAY() macroYu Watanabe2023-03-071-0/+50
* fundamental: rework IN_SET() to require at least three argumentsLennart Poettering2023-01-021-4/+4
* macro: add generic IS_ALIGNED32() anf friendsLennart Poettering2022-12-081-0/+53
* test: add test for IN_SET() with bitfield specifierYu Watanabe2022-10-261-0/+10
* macro: add macro for checking if integer is power of 2Lennart Poettering2022-08-051-0/+56
* Add saturate_add() that generalizes size_add()Zbigniew Jędrzejewski-Szmek2022-05-121-0/+9
* macro: add macro that simplifies going backwards through an array via pointersLennart Poettering2022-03-231-0/+23
* test: add test case for DECIMAL_STR_MAX()Lennart Poettering2022-03-141-0/+23
* test: add test for DECIMAL_STR_WIDTH()Lennart Poettering2022-03-141-0/+23
* test: change // comments to /* */Lennart Poettering2022-03-141-2/+2
* test: Slightly rework DEFINE_TEST_MAIN macrosJan Janssen2021-11-251-1/+1
* test: Create convenience macros to declare testsJan Janssen2021-11-131-42/+10
* test: Add test for flag macrosJan Janssen2021-11-051-0/+70
* macro: Move ALIGN_TO to macro-fundamental.h and introduce CONST_ALIGN_TOJan Janssen2021-10-171-0/+9
* test: use assert_se() instead of assert()Yu Watanabe2021-10-121-5/+5
* macro: handle overflow in ALIGN_TO() somewhat reasonablyLennart Poettering2021-08-201-0/+33
* test: split out macro tests into own test-macro.cLennart Poettering2021-08-201-0/+310