This test your ft_printf function for 42 project it was made to test return value of your printf function and only return value it doesn't check if you are writing properly if you want to check if your printf write properly i recommand:
Simply clone into your ft_printf directories and change Makefile variable PRINTFHEADER
if needed
COLOR | MEANING |
---|---|
- KO |
You are not returning the right value |
- SKO |
Not really like the real printf but it's valid |
- OK |
You are returning the right value |
echo 'briseur2reves' >> .gitignore && git clone https://github.com/qbornet/printfTester.git briseur2reves
cd briseur2reves && ./test.sh
[%c]
./test.sh c
[%s]
./test.sh s
[%p]
./test.sh p
[%di]
./test.sh di
[%x]
./test.sh x
[%X]
./test.sh X
[mix]
./test.sh mix
[return]
./test.sh return
[@qbornet]