Skip to content

Commit 8dc849a

Browse files
committed
(#4) Document testing
1 parent 16361c9 commit 8dc849a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,19 @@ $ ./example | jq .
9393
}
9494
```
9595

96+
## Testing
97+
98+
```console
99+
$ make
100+
$ ./test
101+
```
102+
103+
The expected outputs of the test cases are stored in [./test_expected.h](./test_expected.h). To regenerate it just run:
104+
105+
```console
106+
$ ./test record
107+
```
108+
96109
## Notes
97110

98111
1. Does not depends on libc. Could be theoretically used in embedded, but I know nothing about embedded, so maybe not.

0 commit comments

Comments
 (0)