We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3938605 commit ae42c64Copy full SHA for ae42c64
README.md
@@ -4,8 +4,16 @@ test.h helps you unit testing your C code. It provides simple testing
4
functionality in a single header.
5
6
## Overview
7
-
8
Currently test.h supports the following assertions
+```c
9
+assert(expr)
10
+assert_true(expr)
11
+assert_false(expr)
12
+assert_equal(expr, expected)
13
+assert_not_equal(expr, expected)
14
+assert_null(expr)
15
+assert_not_null(expr)
16
+```
17
18
## Example
19
```c
@@ -35,15 +43,4 @@ main (void)
35
43
36
44
return 0;
37
45
}
38
-```
39
40
-Running the example above should produce the following output:
41
42
-Tests:
- + test_example 3 assertions passed.
-Summary:
46
- Type Ran Failed
47
- tests 1 0
48
- assertions 3 0
49
0 commit comments