Skip to content

pquline/ft_printf_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ ft_printf_tester πŸš€

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.


πŸ”₯ Quick Start

🌲 Project Structure

Here’s a quick overview of what your project should look like when using the tester:

ft_printf/
β”œβ”€β”€ Makefile
β”œβ”€β”€ includes/*.h
β”œβ”€β”€ *
└── ft_printf_tester/

πŸ› οΈ Installation

  1. Clone the repository into your ft_printf project directory:

    git clone https://github.com/pquline/ft_printf_tester.git
    cd ft_printf_tester/
  2. Once you’re in the ft_printf_tester/ directory, make sure you have your ft_printf project set up and ready to go.


πŸš€ How to Use It

πŸƒβ€β™‚οΈ Running the Tester

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 the b flag like so: ./tester b. Otherwise, the tester will run in normal mode!

βš™οΈ Customizing Your Include Path

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

πŸ’‘ Example

screenshot

About

A basic C tester for the 42 ft_printf project, comparing return values of printf and ft_printf.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published