Skip to content

matthiassars/ft_printf_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖨️ ft_printf Test

by Matthias Sars, msars@student.42berlin.de

Description

Very simple test program for the project ft_printf from the 42 core curriculum (version 12.1). It simply runs the ft_printf() and printf() functions and outputs the return values of both. The bonus (flags like %#, %+) is not considered.

Instructions

My own ft_printf repo is contained as a submodule. To run it with another ft_printf repo, make sure your ft_printf directory is in this directory. Compile with make and run with ./test_ft_printf.

This tester also cases of which I'm not sure they are relevant, for example ft_printf(NULL) . If you get segmentation faults and you don't want to check for these cases, feel free to change the .c files.

No guarantees; also perform your own tests!

About

A simple test program for the project ft_printf from the 42 core curriculum (version 12.1, without bonus).

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages