diff options
author | sanine <sanine.not@pm.me> | 2024-10-11 14:30:35 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2024-10-11 14:30:35 -0500 |
commit | bce51a68154c01c83fe713462adce9ffd7b42745 (patch) | |
tree | 3b433b70568ddf20056a6e99eeb2e8c1a50396a1 /README.md | |
parent | 5430a6359097735edf900196d24d05baa2b7071a (diff) |
fix README formatting
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 45 |
1 files changed, 32 insertions, 13 deletions
@@ -144,42 +144,61 @@ but a require will also immediately stop executing the test in addition. Marks the test as failed if x is false and prints stringified x. **CHECK_EQ(x, y, fmt)** -Marks the test as failed if x == y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed if x == y is false. Prints both the stringified names +of x and y as well as their values, using the printf format code provided in fmt. **CHECK_NEQ(x, y, fmt)** -Marks the test as failed if x != y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed if x != y is false. Prints both the stringified names +of x and y as well as their values, using the printf format code provided in fmt. **CHECK_LT(x, y, fmt)** -Marks the test as failed if x < y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed if x < y is false. Prints both the stringified names +of x and y as well as their values, using the printf format code provided in fmt. **CHECK_LE(x, y, fmt)** -Marks the test as failed if x <= y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed if x <= y is false. Prints both the stringified names +of x and y as well as their values, using the printf format code provided in fmt. **CHECK_GT(x, y, fmt)** -Marks the test as failed if x > y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed if x > y is false. Prints both the stringified names +of x and y as well as their values, using the printf format code provided in fmt. **CHECK_GE(x, y, fmt)** -Marks the test as failed if x >= y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed if x >= y is false. Prints both the stringified names +of x and y as well as their values, using the printf format code provided in fmt. ### require macros **REQUIRE(x)** -Marks the test as failed and immediately ends test execution if x is false and prints stringified x. +Marks the test as failed and immediately ends test execution if x is false and +prints stringified x. **REQUIRE_EQ(x, y, fmt)** -Marks the test as failed and immediately ends test execution if x == y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed and immediately ends test execution if x == y is false. +Prints both the stringified names of x and y as well as their values, using the +printf format code provided in fmt. **REQUIRE_NEQ(x, y, fmt)** -Marks the test as failed and immediately ends test execution if x != y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed and immediately ends test execution if x != y is false. +Prints both the stringified names of x and y as well as their values, using the +printf format code provided in fmt. **REQUIRE_LT(x, y, fmt)** -Marks the test as failed and immediately ends test execution if x < y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed and immediately ends test execution if x < y is false. +Prints both the stringified names of x and y as well as their values, using the +printf format code provided in fmt. **REQUIRE_LE(x, y, fmt)** -Marks the test as failed and immediately ends test execution if x <= y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed and immediately ends test execution if x <= y is false. +Prints both the stringified names of x and y as well as their values, using the +printf format code provided in fmt. **REQUIRE_GT(x, y, fmt)** -Marks the test as failed and immediately ends test execution if x > y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed and immediately ends test execution if x > y is false. +Prints both the stringified names of x and y as well as their values, using the +printf format code provided in fmt. **REQUIRE_GE(x, y, fmt)** -Marks the test as failed and immediately ends test execution if x >= y is false. Prints both the stringified names of x and y as well as their values, using the printf format code provided in fmt. +Marks the test as failed and immediately ends test execution if x >= y is false. +Prints both the stringified names of x and y as well as their values, using the +printf format code provided in fmt. |