This is a simple tester for the 42 ft_printf
project. Itβs designed to compare the return values of printf
and ft_printf
.
Keep in mind that this tester only checks the return values β so youβll need to manually inspect the outputs.
Hereβs a quick overview of what your project should look like when using the tester:
ft_printf/
βββ Makefile
βββ includes/*.h
βββ *
βββ ft_printf_tester/
-
Clone the repository into your
ft_printf
project directory:git clone https://github.com/pquline/ft_printf_tester.git cd ft_printf_tester/
-
Once youβre in the
ft_printf_tester/
directory, make sure you have yourft_printf
project set up and ready to go.
You can run the tester by using the following command:
./tester [b]
- Optional
b
flag: If you want to test your bonus features, just add theb
flag like so:./tester b
. Otherwise, the tester will run in normal mode!
If your header files arenβt in the default includes/
directory, just edit the INCLUDES
variable in the run.sh
script to point to the right place:
INCLUDES=/path/to/your/includes