Tester for ft_printf, with 7765 tests.
- Change the value of FT_PRINTF in the makefile with the path of your ft_printf.
- Run
make
ormake malloc
(if you want to test the protection of your malloc). - You can now run
./test
.
Usage:
./test [-d] [type] [repetition]
Options:
-d Print debug message
- Debug %s:
./test -d s
- Speedtest with 500 repetitions:
./test 500