Skip to content

A printf tester for 42's project : ft_printf (cspdiuxX%fn, -0.*)

Notifications You must be signed in to change notification settings

AntoineBourin/printf-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2402a13 · Nov 6, 2019

History

6 Commits
Oct 23, 2019
Oct 23, 2019
Oct 31, 2019
Nov 6, 2019

Repository files navigation


                                                      :::      ::::::::     
 README.md                                          :+:      :+:    :+:     
                                                  +:+ +:+         +:+       
 By: abourin <[email protected]>                     +#+  +:+       +#+          
                                              +#+#+#+#+#+   +#+             
 Created: 2019/10/23 20:29:39 by abourin           #+#    #+#               
 Updated: 2019/10/23 20:38:23 by abourin          ###   ########.fr         

Run tests with your printf library

  1. Compile your printf library
  2. Place libftprintf.a output in repository directory.
  3. Run test.sh

Wait until printf tester compile default main.c with real printf and compared it to your printf library.

This tester test all cases about these conversion specifiers :

  • %%
  • %s
  • %c
  • %p
  • %d
  • %i
  • %u
  • %x
  • %X

And these bonus :

  • %f (for float)
  • %n (to write chars count inside)

With all of these printf's flags :

-0.*

Feel free to fork this repository and add potential tests forgotten here.

About

A printf tester for 42's project : ft_printf (cspdiuxX%fn, -0.*)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published